Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Spaces in Filenames
Name: Kim Date: November 8, 2000 at 22:37:21 Pacific
Comment:
Can someone tell me how to reference a filename with spaces in the name, example, " file name". I have a for loop that recompiles every file in the directory. It does not work because the name shave spaces in them. Please help. Thanks!
Name: mr o Date: November 9, 2000 at 01:16:02 Pacific
Reply:
theres a function especially for for loops and long file names called LFNFOR
try
lfnfor on
0
Response Number 2
Name: bubbletrap Date: November 9, 2000 at 01:19:08 Pacific
Reply:
One thing you can do is eliminate the space by replacing it with a '-' or an underscore. This can be done by using the command "REN FILE?NAME FILE-NAME".
0
Response Number 3
Name: Kim Date: November 9, 2000 at 15:06:25 Pacific
Summary: JR - What kind of computer does not run Qbasic programs?? The ones that don't have Qbasic of course. Thank you DoOMsdAY for your excellent suggestion to compile it so that it will run on all the IBM c...
Summary: Put an underscore or hypen in the device name, or remove the space in the device name. Is this printer on an lpt port? If so, just direct the print to the port instead. ...