Computing.Net > Forums > Disk Operating System > delete a file using batch file

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

Reply to Message Icon

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:

%ASST%\%ASST%%VERZ%\DEBUG\%ASST%%VERS%.exe < %ASST%\DATA\%ASST%DAT%d%.TXT

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:)



Sponsored Link
Ads by Google

Response Number 1
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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


!!dos deletes access!! anyone heard of webboy?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: delete a file using batch file

how do I delete a file anywhere on the disk? www.computing.net/answers/dos/how-do-i-delete-a-file-anywhere-on-the-disk/2273.html

I need to delete a file in DOS www.computing.net/answers/dos/i-need-to-delete-a-file-in-dos/12292.html

help!! I need delete a file in sev www.computing.net/answers/dos/help-i-need-delete-a-file-in-sev/11303.html