What is the default program to run windows batch files?

Advertisement

I am working on windows 7 and I found that "notepad" was set as the default program for opening my .bat files. when I try to execute the batch file by double clicking, it is opened by notepad.
I have tried setting cmd.exe as the default program, it just opens the command prompt.
What is the default program I should set for executing .bat files?
I hav also tried using assoc .bat = batfile. The batch file runs fine from command prompt.

Advertisement

This is not a scripting question.  It is a break/fix issue.  Contact you support person or Admin for assistance fixing this.
http://www.sevenforums.com/general-discussion/53877-bat-files-open-notepad-instead-running-help.html
¯\_(ツ)_/¯

November 30, -0001

What is the default program to run windows batch files?

I am working on windows 7 and I found that "notepad" was set as the default program for opening my .bat files. when I try to execute the batch file by double clicking, it is opened by notepad. I have tried setting cmd.exe as the default program,

When I try to change the default program for opening a specific file type The "Always use the selected program to open this type of file" does not highlight.

I can not therefore change the default program. How can I get this to highlight?Hi Swansong, It is also possible to [[Set how Firefox handles different types of files]]Read other 3 answers

What is the best solution for running windows based programs

I have one program that I need windows for.  What is the best solution for doing this without painfully slowing down my mac.Depends on your needs. BootCamp requires reboot and uses all physical resources of the system.  Only OSX *or* Windows can run.

Picking Premiere Pro CC as the Default Program in Windows 8.1

I have both Premiere Pro CS6 and CC on my computer and have to have it that way for access to older projects. I can't get Windows to default to the newer CC version. Using the "Open With" and drilling down to the newer version does not change th

.msg files open in new tab or window, not with the default program

Hello, I am having an issue with .msg files not opening with the default program, Outlook. They are opening in a new tab and it is just a bunch of gibberish from the email header. Does anyone know how to force IE to open the .msg files in Outlook? Th

What is the default password for Windows server r2?

What is the default password for the evaluation copy of Windows 2012 R2? You can't log on and it wants to change the password , yet nothing works .  This is the non gui version.  About to format it and install the GUI version to see if it doesn't hav

When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the

Hi, I've just downloaded Aperture 3.2 and transfered all my iPhoto Library but now when I use the Aperture program it runs at the slowest speed possible and is almost impossible to work with. It is constantly processing why is this?

Hi, I've just downloaded Aperture 3.2 and transfered all my iPhoto Library but now when I use the Aperture program it runs at the slowest speed possible and is almost impossible to work with. It is constantly processing why is this?You can click on t

What is the default buffer size if we dont specify in buffer write?

If we dont specify what is the default buffer size in BufferedWriter. How to increase/decrease the size of it? What is the purpose of flush? If flush() is not used, only partial content is written to the file. Is it because of the default size of the

Getting this error while opening a folder : This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel

Hi, While trying to open a folder on my Windows 7 Home Premium, an error comes "This file does not have a program associated with it for performing this action.  Please install a program or, if one is already installed, create an association in the D

What is the default Charset?

Quick questions: What is the default charset used in the String class? Thanks. HerongOn my system, I am getting file.encoding=Cp1252. Here is some of the properties on my system: java.vm.version=1.4.1_01-b01 java.vm.name=Java HotSpot(TM) Client VM ja

What is the default iTune Folder Structure for iTunes 10?

What is the default iTune Folder Structure for iTunes 10? As far as I can tell in windows 7 it goes something like. My Music\iTunes\iTunes Media\Music Other folders for downloads, pod casts, mobile applications are all in the iTunes Media folder, how

What is the default timeout processing option in SSRS Server

Hi, I am getting The operation has timed out error when trying to connect SSRS server sometime. So I would like to know what is the default timeout for report in seconds? Thanks SaikatHi Edward, Thanks for your reply. I am using script task to connec

What is the default password on Pet Store 1.3 when rebuilt?

I am unable to log into either the administrator client or the receiver application after rebuilding the WebLogic Server Pet Store Application. Neither jps_admin/admin nor rsvr/rcvr works. I saw a post referencing security.xml, but that file does not

What is the default INTERNAL password?

What is the default INTERNAL password? Thank you so much. SGInternal (alias of SYS) is only valid for Oracle for Unix. In Windows environment, changing the password of SYS doesn't means that the INTERNAL password reflected the same. INTERNAL password

How can I/Can I make Firefox the default .PDF viewer in Windows 7?

For the basic PDF viewing I do, Adobe Reader is just slow and annoying. I love using Firefox, but unfortunately I cannot set it as the default program to open PDF files. Even when I select Firefox after right clicking and select open with, Windows do

What is the plan for 64-bit Windows?

The 11G Express Edition Beta installed without warnings or errors on a Windows 7 64-bit virtual machine. However after install, the following error appears multiple times in the alert log: OER 7451 in Load Indicator : Error Code = OSD-04500: illegal

What is the best program or way to check an image on monitor screen (contrast/color etc)

Hi, In ACR I adjust the image so that it looks OK for me. But there are a little differences in ACR and PS viewing the image (color, contrast etc). In programs like windows foto-viewer there is an other difference (relative to ACR and PS) >> images

What are the default parameters for PER_EVENTS api

Dear Experts, Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API. procedure create_event (p_validate in BOOLEAN default FALSE ,p_date_start in DATE ,p_type in VARCHAR2 ,p_business_group_id in NUMBER de

What should the default tablespace be for SAP users

I'm using Oracle 10.2.0.4 For the users OPS$<SID>ADM OPS$ORA<SID> SAP<SID> what should the default tablespace be PSAP<SID>USR or PSAP<SID>Hello Bill, > For the users > OPS$<SID>ADM For this user the default tables