Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
delete a file using batch file
Name: ffxifanatic Date: September 19, 2003 at 10:15:57 Pacific OS: Win98 CPU/Ram: P4 256DDR
Comment:
I dont really want to delete a file. What i want to do is associate a txt file with a DEBUG folder from a c++ project. Basically the syntax is supposed to be like this:
the paths are correct i am sure, but for somereason i get bad command when the program runs. Is there another syntax to use? Please if you need more info e-mail me at macmaccaull@hotmail.com or message here. Thx:)
Name: lloyd33 Date: September 21, 2003 at 09:14:29 Pacific
Reply:
Then why did you say you wanted to delete a file?? You'd probably get more responses if you said what you wanted in the first place. Strange.....
0
Response Number 2
Name: ffxifanatic Date: September 21, 2003 at 14:57:05 Pacific
Reply:
ya i didn't really know how to describe what i wnated. regardless i figured that part out and now im looking into how to delete a directory. Im sure its either del or deltree so im not gonna repost a question. I'll figure this one out. The only tough thing about it is using three for...in...do's to verify each part of the chosen directory structure exist.
Summary: have thought of this before. A small batch file may do the trick assuming you know the name of the file to be deleted. call the file at the prompt with pixie xyz.yz Now pixie.bat would do a sytem sear...
Summary: Hello Nadizo, the way I use to get (then in Win98) the real DOS name for a path is like this: open Explorer & go to: C:\program files\america online 7.0\download\idans folder\my files Then rightclick ...
Summary: Don't you think "in several directories" is too much vague? Anyway, the following batch file will delete all files named "filename.ext" which are on or under the directory "c:\main" (those values may ...