Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: A problem with autoexec.bati hav already triyd to  (Read 2568 times)

0 Members and 1 Guest are viewing this topic.

deadhorse

  • Guest
A problem with autoexec.bati hav already triyd to
« on: December 21, 2005, 06:28:28 PM »
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.

Dusty



    Egghead

  • I could if she would, but she won't so I don't.
  • Thanked: 75
  • Experience: Beginner
  • OS: Windows XP
Re: A problem with autoexec.bati hav already triyd
« Reply #1 on: December 21, 2005, 11:33:02 PM »
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 luck
One good deed is worth more than a year of good intentions.

jen140

  • Guest
Re: A problem with autoexec.bati hav already triyd
« Reply #2 on: December 22, 2005, 03:53:31 AM »
Ty for help ,but it still doesnt work  :-/

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: A problem with autoexec.bati hav already triyd
« Reply #3 on: December 22, 2005, 02:42:09 PM »
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. 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

jen140

  • Guest
Re: A problem with autoexec.bati hav already triyd
« Reply #4 on: December 22, 2005, 03:06:33 PM »
yeah ,ty ,it is a good ideia ,but i wanted the bat boots before i log in at my user .  

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: A problem with autoexec.bati hav already triyd
« Reply #5 on: December 22, 2005, 03:53:08 PM »
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. 8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein