.cmd file only opens in notepad, already tried a few fixes

gigajesus

New Member
Messages
4
So I'm trying to set up a miner for a cryptocurrency and to do so I have to start a .cmd file. However, instead of running in command prompt, it only opens in notepad. I already tried this: http://www.eightforums.com/tutorials/8486-default-file-associations-restore-windows-8-a.html and I get the message that some keys are open by the system blah blah or I have insufficient privileges (I am the only user on my computer).

I also tried going into regedit and deleting any extension associates (not sure if correct name), but there was not one of .cmd, and when I tried creating one and pasting the cmd reg file I downloaded into it, it didn't let me.

I also going through set associations in control panel and setting command prompt to being the default program, but it just says "The program you have selected cannot be associated with this file type. Please choose another program."

Any ideas?
 

My Computer

System One

  • OS
    Windows 8.1
Should be .bat file, not .cmd.

You'd probably want to start the .bat with "run as administrator" checked (enabled).
 

My Computer

System One

  • OS
    7601.18247.x86fre.win7sp1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Self-built Intel based
    CPU
    Pentium D 925 3.0 GHz socket 775, Presler @ ~ 3.2 GHz
    Motherboard
    Intel DQ965MT
    Memory
    Hyundai 2 GB DDR2 @ 333 MHz
    Graphics Card(s)
    ASUS DirectCU II HD7790-DC2OC-2GD5 Radeon HD 7790 2GB 128-Bit GDDR5
    Sound Card
    MOTU Traveler firewire interface
    Hard Drives
    1 Seagate Barracuda SATA II system/boot drive 80 GB, 2 Western Digital hdds - 1 is SATA II Caviar Black 1 TB attached to card (assorted media, page, temp), other is SATA I 420 GB (games, media, downloads)
    PSU
    Thermaltake 450W
    Cooling
    stock Gateway cooling, extra large fan in rear of case
    Keyboard
    Alienware/Microsoft Internet kb
    Mouse
    Logitech M510
    Internet Speed
    Optimum Online, fast for US
    Browser
    Pale Moon
    Antivirus
    Kaspersky integrated into ZoneAlarm+Antivirus
Changing filename from Start.cmd to Start.bat did nothing, still opening in notepad, and there is nowhere to check a box to run as administrator. (I'm thinking this is because windows sees it as a .txt file instead a .exe or something of that nature, then again I'm new to windows 8)
 

My Computer

System One

  • OS
    Windows 8.1
Your associations are a little out of order.

You can fix that to get it to go, or open up an elevated command prompt.

Then use cd /d command followed by the location of your file.

For example: cd /d C:\BatFileInHere

Then just type the name of the bat file, press Enter and it will run.
 

My Computer

System One

  • OS
    7601.18247.x86fre.win7sp1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Self-built Intel based
    CPU
    Pentium D 925 3.0 GHz socket 775, Presler @ ~ 3.2 GHz
    Motherboard
    Intel DQ965MT
    Memory
    Hyundai 2 GB DDR2 @ 333 MHz
    Graphics Card(s)
    ASUS DirectCU II HD7790-DC2OC-2GD5 Radeon HD 7790 2GB 128-Bit GDDR5
    Sound Card
    MOTU Traveler firewire interface
    Hard Drives
    1 Seagate Barracuda SATA II system/boot drive 80 GB, 2 Western Digital hdds - 1 is SATA II Caviar Black 1 TB attached to card (assorted media, page, temp), other is SATA I 420 GB (games, media, downloads)
    PSU
    Thermaltake 450W
    Cooling
    stock Gateway cooling, extra large fan in rear of case
    Keyboard
    Alienware/Microsoft Internet kb
    Mouse
    Logitech M510
    Internet Speed
    Optimum Online, fast for US
    Browser
    Pale Moon
    Antivirus
    Kaspersky integrated into ZoneAlarm+Antivirus
Yeah it's saying unknown application is associated with .cmd and .bat . I've already tried to fix the associations using the above, but none of that worked.
 

My Computer

System One

  • OS
    Windows 8.1
Back
Top