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, 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.

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
¯\_(ツ)_/¯

Similar Messages

  • What is the best way to run windows on my mac?

    What is the best way to run windows on my mac?
    I have a particular program that i need to run, and it only runs on windows. I have a macbook pro

    As Templeton noted, it depends and will at least be somewhat subjective. 
    There are basically three options out there.  You can use a Windows emulator (Wine or the commercial version of it, Crossover Office), use Boot Camp to "dual boot" or use virtualization software (Parallels, VMWare Fusion, or VirtualBox).  Each has its advantages or disadvantages.
    The Windows emulators have the advantage of being the one option that doesn't need the purchase of a copy of Windows.  Unlike Boot Camp, but like the virtualization options, this allows you to run Windows programs and OSX programs side by side.  The big problem, though, is that it is the least compatible option--a lot of Windows software either has "issues" or will not function at all.  The Crossover website has information on which programs are known to work and how well they are known to work. 
    Boot Camp is the option that Apple ships OSX with.  You'll need a copy of Windows to install into the partition.  You'll effectively divide your disk into two parts and have two machines.  The major advantages are, first, you don't need to acquire separate software *AND* the Windows license.  As well, it's the highest performance Windows system.  What you have is truly a Windows machine.  That's both the good and the bad--you aren't going to be able to use OSX software at the same time, and you have to reboot to get back to OSX.  I've always thought it was best for someone who likes the Apple hardware and wants to use it for a Windows box--in that case Boot Camp is clearly a great solution.
    Finally there's virtualization which seems to be the most popular way to handle Windows, especially if you need to run one vertical market package.  It has the advantage of allowing you to use your OSX software at the same time, and the virtualization gives an extremely high level of compatibility.  About the only thing that won't run is a virtualization package (and there's not a lot of reason to run that in a Windows VM).  There is a performance hit compared to Boot Camp, but it's minimal for all but the most demanding applications (that being high end games). 
    It will chew up RAM on the OSX machine, but if you have at least 4 GB of RAM it will probably be manageable, especially if you only need to run one Windows program.
    You will need both a virtualization program (there are three major ones) and purchase Windows.  Two of three programs are commercial packages (Parallels and VMWare Fusion), while the other is an open source option (VirtualBox).  Virtual Box has the advantage of being free, but it's by far the least polished of the group.
    Which way is best?  As was noted, it depends.  I run VMWare Fusion on my machines, and I have used CrossOver Office for limited purposes.  I've not yet seen, in my use pattern, a reason to go to Boot Camp but I certainly can see cases where it might make sense.

  • What is the best way to run windows on my Mac? And What are the pitfalls I should watch for?

    What is the best way to run windows on my Mac?   What are the pitfalls/

    If you need Windows as your main operating system you would be better off buying a Real Windows PC.
    Running windows on a Mac is always a compromise. Whether in a Boot Camp partition or in a Virtual Machine.
    In boot camp you can't easily Re-Partition and or Re-Size the drive it is installed on. You can't use both graphics cards as Apple has limited Windows to use the discrete graphics only, that is if your mac has 2 graphics cards (15" MBPs), which will shorten the battery run time in Windows.
    The trackpad only has limited functions in Windows, less then is available on the Mac side and a real Windows PC.

  • What are the best options for running windows on a Mac Pro

    what are the best options for running windows on a Mac Pro

    For gaming and other CPU intensive stuff: Boot Camp – https://www.apple.com/support/bootcamp/
    For the rest: any virtualization software (Parallels/Vmware Fusion/VirtualBox)

  • What is the best program to run on my MacBook Pro to clean it up?

    can anyone tell me what the best program to run on a MacBook Pro to clean it up, make it run faster?

    When you next have the problem, note the exact time: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above. Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough. It is never necessary or helpful to post more than about 100 lines. "The more, the better" is not the rule here.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Cannot change the default program to open a specific file type.

    Whenever I attempt to change the default program to open a file, it automatically reverts to whatever was selected previously.
    I work with a lot of .ai files and my default Illustrator version is set to Creative Cloud. CC crashes constatnly on my machine, however CS6 runs smooth as silk. I'd like to be able to double click an .ai file and have it open in CS6, not CC. When I right click > Get Info > Open with and change it, it reverts as soon as I click "Change all..."
    This isn't a huge deal... only takes a few seconds out of my day but it isn't something I should have to worry about.
    Any suggestions?
    Thanks in advance.

    I just successfully changed on my .docx to open into Pages. I went the same route that you mentioned... Right click---> Get Info---> Open With and changed it to Pages. When I clicked Change All, a dialog came up asking me if I am sure that I want to change all of my .docx to open in Pages. I click accept and tested it. Now my .docx open in Pages.
    So my question is, is your issue just applying to .ai files? Or is affecting other files, such as .docx? If it's just affecting .ai files, then there maybe an underlying reason for that. And it may not be able to be changed.
    Just a thought.
    KOT

  • Office 365 installed, can't choose Word 2007 as the default program for docx and doc files

    I have a client who just installed Office 365 on his Windows 7 PC. He still has Office 2007 installed. He's struggling with the changes in Word 2013 and wants me to uninstall Office 365. I thought I'd just set the default program association for .docx and
    .doc programs to Word 2007 but that doesn't seem possible. I can choose Default Programs, Associate a file type etc., and find the .docx extension. The current default is Word (desktop). I highlight the .docx extension and choose Change Program. The older
    version of Word isn't listed so I click Browse and find Program Files\Microsoft Office\Office12\winword.exe. Click OK, OK, OK, etc, but .docx files still open in Word 2013. The Default Program applet evidently sees all versions of Word as the same and refuses
    to change the association. How do I accomplish this ridiculously simple task?

    Fixed. Used a great little app from NirSoft called
    FileTypesMan. The built-in Windows utilities are getting worse by leaps and bounds.

  • 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]]

  • What is the default app used to open ZIP files in OS X?

    What is the default app used to open ZIP and PDF's files in OS X?

    The Archive Utility and Preview.
    (105905)

  • 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.  Better for gaming or memory intensive tasks.  BootCampAssistant must set up the boot sector to make it work.  Also BCA required to remove it.
    VM (virtual machine) like Parallels which "hosts" Windows while still running OSX.  You split RAM between the two environments.  VM is just another program so no special boot sector changes needed, but not good for graphics or RAM intensive programs.
    Other recommended alternates to Parallels (paid) are VM Fusion (paid) and VirtualBox (free download from Oracle.com).

  • What is the best way to run window xp on a macbookpro17" G4 running OS10.5.

    I have a MacBookPro 17" 1.5 GHz running OS 10.5.7 with 1.5 GB Ram and would like to load Windows XP SSP2 so I can run several specific windows programs that are not Mac supported without a dualcore system.

    csb814 wrote:
    I have a MacBookPro 17" 1.5 GHz running OS 10.5.7 with 1.5 GB Ram and would like to load Windows XP SSP2 so I can run several specific windows programs that are not Mac supported without a dualcore system.
    Ok, you either own a MacBook Pro with an Intel Processor, or a PowerBook with a PowerPC Processor.
    If your stated speed is correct, then you own a PowerBook, which will not run Windows natively. development & sales for Virtual PC has ceased. The only emulator still around, I think, is iEmulator & is terribly slow on G4s.
    Boot Camp does not work on PowerPC Macs.
    Please correct your signature & descriptions so we can identify the correct machine. Thanks!

  • What is the preferred way to run Windows in a VM?

    I plan to run Windows 8 in a VM with VMWare Fusion.  I need to have OS X and Windows available concurrently because some of corporate apps only run on windows.  It seems I have (at least) two options for doing this.  I could setup Boot Camp and install Windows and then use VMWare to run that as a VM.  The other option is to install VMWare Fusion and then use it to create a VM with Windows.  The difference, I am told, is that the first method will, by nature of having a partition, writing files to the disk as any native OS installation would and with the second method the entire VM is actually running as a single file.  I am told that the first method is more performant by some but others tell me there is no difference.
    Does anyone have any experience they can share?

    You can raise your question in the Fusion forum too but unless you're planning to play games in Windows or do computer-intensive video editing, I doubt you'll find any performance deficiency, and if you wed your system to Boot Camp, you'll likely loose the flexibility that a VM file offers (e.g., try backing up Boot Camp).

  • What is the best software to run windows office products

    I am considering moving to a macbook pro from a pc.  What is the best software to use to access microsoft office apps?

    Microsoft Office for Mac 2011.

  • Undoing Open Office being the default program for text and other files

    After problems with Power Point crashing down, I downloaded Open Office to save some files on my mac. thanks to Open Office I managed to save the content, but now Open Office seems to become default program to open word, ppt etc. files on my mac. How can I undo this?

    Change it from the Open With section of a document's Get Info window, and then use the Change All function.
    (57910)

  • What is the best program for splitting large video files (for archiving)?

    I have just finished a project and I want to back up everything to DVD-R discs, including all my capture files and completed movies exported from Final Cut. Some of the files are 5 or 6 Gb, too large for one DVD-R disc.
    I tried downloading a program called MacHacha, and did a test on one file, splitting it into 3 segments and then joining it back together with the same program. The resulting file should have been a duplicate of the original, but it was not. It was not even recognized by QuickTime Player as a .mov file.
    What program do you use for this purpose? What program is reliable for this and produces a joined file that is identical to the original?
    Thank you for your reply.

    Thank you for your help and suggestions. I tried a couple of experiments with a video file that has chapter markers. This was created in FCE using the "Export - QuickTime Movie" command.
    One experiment was to bring the file into a new, blank sequence in FCE. Then export it right back out as a QuickTime movie. The resulting movie appears to be identical to the original, except that there are no chapter markers any more.
    The second experiment was to make a duplicate of the original sequence which I used to make the movie in the first place. In this duplicate, I deleted everything except the chapter markers. I then brought in the video file into that sequence and exported it. The resulting file appears to be identical, and this one does have the chapter markers.
    The only problem with doing it that way is that I lose all my edits. What if I wanted to edit something or adjust one of my original edits? I can't go back to that stage, with all my original edits, if I don't have all the original source files.
    In addition, it's not clear to me exactly how I would use FCE as the "splitting program." How do you split a sequence into smaller parts?
    All I really want to do is take a "snapshot" of the entire project, including all the source files, capture scratch files, etc. I don't need to back up the render files because those can easily be re-rendered. The entire project is taking up about 72 Gb on my hard drive, and I want to offload the whole thing. Even if it takes me 20 DVD-R discs to do it, that's no problem. Someone must have come up with a program or solution to do this.
    Thanks!

Maybe you are looking for

  • How can I import a form to get it back into a blank form?

    I was informed to do this with the form they sent me to use :  The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating

  • More on wireless problems with 10.4.8+

    There has been much said and discussed about wireless problems with the Macbook's with 10.4.8+ updates, both the C1D and the C2D macbooks have seen problems with a number of units. Unfortunately, it is very hard to find real information on this websi

  • Itunes 7.7

    I have a original iphone and I recently loaded itunes 7.7 and iphone 2.0 , now it wont sync with the error message itunes was unable to load dataclass info. Plus apple mobile helper error message. HELP HELP HELP HELP HELP.

  • Can we change/Modify BI server generated Sql query and run to fetch data

    Hi, My client is saying that there is an option to modify bi server generated sql query to fetch data from source. question:As a request is made in presentation services, A dynamic sql query is generated and fetches data from source. all this is logg

  • Port Forwarding not working after 7.7.1 Firmware update

    I bought the new 6th generation Airport Extreme today, and after I set it up, everything worked great.  I have a VoIP phone that needs to have traffic on port 5060 forwarded to it, and that worked just fine as well.  However, I then updated to the 7.