|
-
I am using the following code to output a text file so I can import the variables into a stand alone presentation.
on (press) {
data1 = "nm="+ci1+"&tl="+ci2+"&ad="+ci3+"&cy="+ci4+"&st="+ ci5+"&zp="+ci6+"&ph="+ci7+"&fx="+ci8+"&em="+ci9+"& ul="+ci10;
fscommand ("exec", "command.com"+chr(9)+"/c"+chr(9)+"echo"+chr(9)+data1+">prefs1.txt");
}
The Problem is that it has a limit to how many characters it will let me write. I have twice as many variables and the user may have a long name, descriptions etc.
Any ideas appreciated.
-
The Supreme Shaman and Keeper of Polar Lights
-
Found my problem
My problem is that the dos command fails if there is a space in the input text. Do you know how I can convert the space into '%20' and back into a space again?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|