rotoitiman Posted May 2, 2007 Share Posted May 2, 2007 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 soComputer 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 thisecho %1 > c:\description.txtBut when I check the txt file after completion I get the work "Computer" written in thereanyone 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 helpIf 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 More sharing options...
rotoitiman Posted May 3, 2007 Author Share Posted May 3, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now