|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (2 bit)
Join Date: Oct 2004
Posts: 3
|
*.bat in WIndows 2000
hie guys
one of my colleague was playing around with Win registry.then after that,he realized that he couldn't open any *.bat files in the system.What happened is,everytime we click shortcut for *.bat,a notepad comes out. I did try to execute the dos command in command prompt,some are working but some are not.Can anyone please help me with this?It only affects *.bat files..thanks |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
I'm sorry I can't really help you on this, but maybe i can point you in the right direction. It seems that whatever your friend did made the the batch files default to the "edit" command when clicked. Do a google search and see if you can find what registry setting would affect this, or right click the file's icon and see if there is a "run" command.
Mike |
|
|
|
|
|
#3 |
|
Member (2 bit)
Join Date: Oct 2004
Posts: 3
|
thanks..actually,when i clicked the icon,it will start calling the *.bat in the specified folder.however,what happened is,a notepad with all the commands for that *.bat came out..it happens to all *.bat files..even if i manually run the *.bat files by double clicking on it,the same thing also happen(that bat file's commands came out in a notepad..)what should i do?thanks..
|
|
|
|
|
|
#4 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,786
|
Open your Folder Options, then click on the File Types tab. If BAT is in the list of registered file types, delete it.
|
|
|
|
|
|
#5 |
|
Member (2 bit)
Join Date: Oct 2004
Posts: 3
|
i have done that,but it still doesnt work..here are one of my *.bat file..
setlocal set ARIS_DB_ACCOUNT=%1 set ARIS_DB_HOST=localhost set EXCEED_HOME=C:\Program Files\Hummingbird\Connectivity\7.00\Exceed set SITE_IS_ASCENT_P= set PATH=%ARIS_RUNTIME%\bin;%ARIS_RUNTIME%\perl\bin\MSWin32-x86;%EXCEED_HOME%;%PATH% start "CI Monitor" /min perl "%ARIS_RUNTIME%\perl\giraffes_NT.pl" -application CI -configfile "%ARIS_RUNTIME%\config\giraffe_CI.cfg" -logging endlocal would be very grateful if anyone can help me on this..thanks |
|
|
|
|
|
#6 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
You will need quotes around the directory paths that are not 8.3 standard.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|