Jump to content

Computer description in OSC


Recommended Posts

Hello all,

I am trying to grab information in OSC that a user inputs and somehow pass this information to a text file in windows.

I have done set up a description field in custom.OSC like so

Computer name: <INPUT NAME="MACHINENAME" SIZE=63 MAXLENGTH=63><BR>

Directory service path: <INPUT NAME="MACHINEOU" MAXLENGTH=512><BR>

Computer description: <INPUT NAME="DESCRIPTION" MAXLENGTH=512><BR>

and then in my answer file used the following in GUIRUNONCE

[GuiRunOnce]

Command0 = "c:\description.cmd %DESCRIPTION%"

The description .cmd looks something like this

echo %1 > c:\description.txt

But when I check the txt file after completion I get the work "Computer" written in there

anyone have any ideas????

I used the info in another post, but that was a while back, so I am hoping that someone may be able to help

If it makes a difference, we are trying to have the user type in the description of the location of the folder, get that info into a text file in windows, and then get that info into AD

Link to comment
Share on other sites


ok, it works fine, my only problem now is that the user can only input without spaces into the description field. Does anyone know what the command is so that text can contain spaces???

text=var char"

maybe??? I tried this but it caused the osc screen to freeze up.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...