Running BAT files in XP - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 12-25-2004, 04:34 PM   #1 (permalink)
True Techie
 
Join Date: Dec 2004
Posts: 130
Default Running BAT files in XP

I'm attempting to run a '.bat' file in XP. Ordinarily, when its double clicked it suppose to execute the program. In my case, the bat file is suppose to convert rar files into a bin cue file. Instead I get a windows 'cannot access the path,device, file' message. I was able to 'trick' it to 'run' in windows task scheduler, but of course nothing happened. Be great if I can get any suggestions on this.
__________________

ezysk is offline  
Old 12-25-2004, 05:39 PM   #2 (permalink)
Master Techie
 
Join Date: Feb 2004
Posts: 2,172
Send a message via AIM to Win2kpatcher
Default

hmmm..Try changing the Folder Options in the control panel..Make sure view hidden files is not checked, and uncheck Hide System files, hide extensions of known sumthin or other...worth a try..I dont think it will work, but what the hay..lol.

If not check the bat script and all items it is pointing to and look at the permissions for each.
__________________

Win2kpatcher is offline  
Old 12-25-2004, 07:24 PM   #3 (permalink)
True Techie
 
Join Date: Dec 2004
Posts: 130
Default

Your're right, it did not work. I heard once, (ages ago) where these kinds of .bat files can be re-edited or renamed in notepad, thereby making it executable. Its just that I can't remember exactly how it was done.
ezysk is offline  
Old 12-26-2004, 12:03 AM   #4 (permalink)
Master Techie
 
Join Date: Feb 2004
Posts: 2,172
Send a message via AIM to Win2kpatcher
Default

Well you can do this part very easily. Simply open notepad and write the command you wish to exectue and save it. Then find the saved file and rename the extension from .txt to .bat and presto you now have a batch file. It should prompt you are you sure you want to change the file extension type or some crap like that.

Try creating a basic script just to make sure you can execute batch files on your machine and its not some security issue. Do something simple like launch AIM or something. Or an xcopy or something.

xcopy C:\test C:\paste

that should be quick and easy enough. just put a dummy file in the "test" folder or sumthin.
Win2kpatcher is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 04:15 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.