Computing.Net > Forums > Disk Operating System > Batch compiler

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.

Batch compiler

Reply to Message Icon

Name: roydoncardozo
Date: April 3, 2003 at 06:16:06 Pacific
OS: Windows 98
CPU/Ram: Intel Celeron 466Mhz
Comment:

I wrote a batch file to delete contents of Temporary Internet Files folder as well as C:\windows\temp folder
and then auto closes its DOS window.Finally I compiled it using BatchCompiler_UK.
The normal bat file auto closes properly,however the compiled batch file gives an error saying that WSBC.bat file cannot be found and then does not proceed any further(ie it does not close its DOS window).It was seen that BatchCompiler_UK creates a WSBC.bat file in the windows temp folder and since I delete the contents of the windows temp folder I get this error.
The compiled batch file can auto close if I do not delete the contents of the windows temp folder but then the whole idea of compiling the batch file is deafeated since
anyone can see the code of WSBC.bat which is the exact replica og the original batch file.Will someone please help.



Sponsored Link
Ads by Google

Response Number 1
Name: Johns
Date: April 3, 2003 at 07:09:03 Pacific
Reply:

Is this bat file for personal use?

Who cares if the can see the simple DOS code if they open the BAT file?

Anyone who has ever used DOS can make a simple BAT file to do this.. So why try to compile it and hide the code?

You may also want to remember that not all temp files will be deleted when the BAT is run under the windows enviro...

Its best to get rid of them from DOS when the PC is booting.

Create your BAT and use CALL in the autoexec.bat to run your batch at boot up.


0
Reply to Message Icon

Related Posts

See More







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: Batch compiler

Need DOS utilities Append.exe, Subst.exe, Join.exe www.computing.net/answers/dos/need-dos-utilities-appendexe-substexe-joinexe-/3810.html

HOW do i create programs with MSDOS? www.computing.net/answers/dos/how-do-i-create-programs-with-msdos/5537.html

error return by a prog www.computing.net/answers/dos/error-return-by-a-prog/3216.html