Windows, Operating System, Security, Networking, Malware, Support, Forum, Help Site Check Our Facebook Page!
Notices
Windows XP Post your Windows XP related questions here.


Register your FREE account to unlock additional features at WindowsBBS.com
   
 
 
LinkBack Thread Tools
Old 25th May 2009   #1
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

autoexec.bat


Hi guys....I have a problem...i cannot seem to find autoexec.bat on my computer no matter what i do....my op sys is XP.The thing is a friend of mine has the same op sys and he found it with search.Please help !

Ahriman is offline  

 

Register
to remove this ad.
 
 

Old 25th May 2009   #2
Staff
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 7,788
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level

My System
Control Panel > Folder Options > View Tab > show hidden files & show system files.
Anyway, autoexec.bat is there, but XP does not use it, it should be an empty file.

TonyT is offline  

Did you find this post helpful? Yes | No
Old 25th May 2009   #3
Staff
 
PeteC's Avatar
 
Profile:
Join Date: May 2002
Location: Staffordshire, UK
Posts: 27,755
Computer Experience:
Usually not enough
PeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation Level

My System
Welcome to WindowsBBS

It's a hidden system file - when searching include hidden files & folders, or ....

Windows Explorer > Tools > Folder Options > View and check 'Show hidden files & folders' and uncheck 'Hide protected operating system files'

It's in the root of C:\ drive, probably 0 bytes and AFAIK not used by XP anyway

PeteC is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #4
Alumni
 
markp62's Avatar
 
Profile:
Join Date: May 2002
Location: Coppell, TX
Posts: 4,000
Computer Experience:
Experienced
markp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Levelmarkp62 Reputation Level

If you are using an old dos program that needs certain lines to be present in the Autoexec.Bat file, you need to instead insert the needed lines in the Autoexec.NT file, located in C:\Windows\System32

markp62 is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #5
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

Hi and thanks for all the replies but nothing works....i did include hidden files and folders from the first time and also i did check the box with show hidden files and folders....it cannot locate autoexec.bat.....there is one more thing i did and forgot to mention it....i typed C:/autoexec.bat myself and it says that it's not a valid Win32 file and then asks me if i want to save or run and when i click save it says the file already exists and if i want to replace it....so i am stuck on this.....

Ahriman is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #6
Staff
 
PeteC's Avatar
 
Profile:
Join Date: May 2002
Location: Staffordshire, UK
Posts: 27,755
Computer Experience:
Usually not enough
PeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation Level

My System
Back to square 1 - why do you want to locate autoexec.bat?

FYI....

C:\autoexec.bat

PeteC is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #7
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

I am interested in learning C Programming and i downloaded the software i need and after installing it i need to locate autoexec.bat in order to continue .....

Ahriman is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #8
Staff
 
PeteC's Avatar
 
Profile:
Join Date: May 2002
Location: Staffordshire, UK
Posts: 27,755
Computer Experience:
Usually not enough
PeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation Level

My System
Go back and physically look for the file in C:\ after setting folder options as I indicated.

As the file is 0 bytes in XP by default you could maybe save a blank file in Notepad as autoexec.bat. (save as - all files and type in autoexec.bat). Whether or not that helps I have no idea.

PeteC is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #9
Staff
 
Steve R Jones's Avatar
 
Profile:
Join Date: Dec 2001
Location: Dallas, TX
Posts: 11,138
Computer Experience:
Experienced
Steve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation Level

Win XP does not and will not use the Autoexec.bat file.

As Markp62 mentioned, you can use the Autoexec.NT file.

Steve R Jones is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #10
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

Thanks again PeteC but still couldn't find it.... and Steve R Jones pls look for the message where i explained that it does say that the file exists.....also a friend of mine uses XP and he found it....so....thanks anyway.....

Ahriman is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #11
Staff
 
Steve R Jones's Avatar
 
Profile:
Join Date: Dec 2001
Location: Dallas, TX
Posts: 11,138
Computer Experience:
Experienced
Steve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation Level

It doesn't matter if the .bat file is there or not. Windows XP will not use it.

Steve R Jones is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #12
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

I know what you're saying...but i need that file....therefore it doesn't matter to me if windows uses it or not....it matters to me to find it....

Ahriman is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #13
Staff
 
Steve R Jones's Avatar
 
Profile:
Join Date: Dec 2001
Location: Dallas, TX
Posts: 11,138
Computer Experience:
Experienced
Steve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation Level

Open Notepad and Save As Autoexec.bat
Copy the file to C:\

If you get prompted with the do you want to replace - SAY NO.

If you don't get the prompt-> BOOM, you now have the file you've always wanted.

Steve R Jones is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #14
Staff
 
PeteC's Avatar
 
Profile:
Join Date: May 2002
Location: Staffordshire, UK
Posts: 27,755
Computer Experience:
Usually not enough
PeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation LevelPeteC Reputation Level

My System
As I suggested in post #8

PeteC is offline  

Did you find this post helpful? Yes | No
Old 26th May 2009   #15
Inactive
THREAD STARTER
 
Profile:
Join Date: May 2009
Posts: 8
Computer Experience:
Beginner
Ahriman Reputation Level

hmmmm....guys?....i did that already as i said before.....and it prompted me with the do you want to replace it?....i said NO ( of course ) but it still didn't show me the actual autoexec.bat file so........

Ahriman is offline  

Did you find this post helpful? Yes | No


 

THIS THREAD HAS EXPIRED.

Are you having the same problem? Please post a new thread, but first you'll have to join us by Registering (FREE).



Discussion Forums
Operating Systems
Windows 8 Windows 8
Windows 7 Windows 7
Windows Vista Windows Vista
Windows XP Windows XP
Windows Server System Windows Server System
Legacy Windows OS Legacy Windows OS
Internet & Networking
Networking (Hardware & Software) Networking
Internet Explorer Internet Explorer
Microsoft Mail Microsoft Mail
Firefox, Thunderbird & SeaMonkey Firefox, Thunderbird
      & SeaMonkey

Web Applications & Cloud Web Applications & Cloud
General Internet
Security
Malware and Virus Removal Malware and Virus
     Removal

Security and Privacy Security and Privacy

Other
Other PC Software Other PC Software
Test Posts Test Posts
Hardware
PC Hardware PC Hardware
Mobile Devices Mobile Devices
Community
Introductions Introductions
General Discussions General Discussions
Site Comments & Suggestions Site Comments
      & Suggestions

News News @ WindowsBBS

Thread Tools


Find us on Facebook   Web Of Trust Rating

All times are GMT. The time now is 05:04.


Recent Discussions
Insert Link Not Working in Thunderb.. (1)
altering the OS (3)
Start Up Slow? (2)
Sharing a printer using WiFi (4)
Hub Manager (6)
Outlook Express doesn't work with b.. (3)
SpywareBlaster updates available (0)
Blue Screen Of Death (13)
Need desktop icon save/restore sw f.. (3)
Spacebar won't work (9)
PC Will Not Boot After HDDs Re-Arra.. (32)
WD External Hard Drives not recogin.. (4)
BSoD (31)
Can't get Win7 shortcuts to open in.. (13)
Changing default View Fields in Out.. (3)
Dell Studio 540 350watt psu require.. (25)
Firefox and Thunderbird Version 31... (11)
How do I check links in favorites t.. (6)
CD player application (3)
Re-starting IE8 every time I change.. (1)


Donate!
Support Windows BBS!



Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright 2002 - 2013 WindowsBBS.com. All rights reserved.
FDMA Media LLC
Terms of Use, Legal Information & Privacy Policy
Page generated in 0.12852 seconds with 7 queries