1.

Solve : A problem with autoexec.bati hav already triyd to?

Answer»

Hi all ,i have alittle problem usingautoexec.bat , how can i pt ithere anycomands suchas "del c:\test\test.txt" ? I have already tryied to put in autoexec.bat line "del c:\test\test.exe " with world pad ,but nothinh hepents ,when i wans rebooting the pc .
I have already chenged THEVALUE of "parseAutoexec " to "1"
(HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon) butnothing heppents . Ty for anyhelp.Windows NT - methinks that Autoexec.bat is NOT USED by NT, I think it uses Autoexcec.nt which is in the C:\Windows\System32 folder.

I SUGGEST you bring autoexec.nt onto your monitor and have a read

Good luckTy for help ,but it still doesnt work :-/The autoexec.nt file is only processed when you start the MS-DOS prompt PROGRAM (command.com). Do not confuse this with the Command Prompt (cmd.exe) which is initialized by Windows.

If you want code executed when you boot the machine, create a batch file and put a shortcut to the file in the Startup folder.

Hope this helps. yeah ,ty ,it is a good ideia ,but i wanted the bat boots before i log in at my user . Before you logon There is a registry key (actually 7 keys) that handle this situation. Try searching the Microsoft MSDN site for full details.

Sorry to be so vague, but running a batch file to delete a file before login doesn't COME up too often.



Discussion

No Comment Found