Command Prompt shortcut creation question


  1. Posts : 97
    Win 7 Pro 64 Bit
       #1

    Command Prompt shortcut creation question


    Using Windows 7 64 Bit pro I am trying to create a desktop shortcut to open a Command prompt window that opens and runs a file in C:/ called SimpleTimer.EXE

    My DOS commands knowledge has faded and I am struggling with this, could someone kindly have a look at this screen shot and suggest where I am going wrong please? Thanks :)

      My Computer


  2. Posts : 1,784
    Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
       #2

    I see two possible errors with your target:

    1) Take out the "cd" that you have put after the /k.

    2) Put "SimpleTimer.EXE" into another location, say, C:\Simple. The root folder of C: is a system area, and it has some restrictions as to its use. However, if you create a folder and put your program into that folder, there won't be any such restrictions.

    To get some good information about using the CMD command, open a command prompt and enter the following command: cmd /?
      My Computer


  3. Posts : 97
    Win 7 Pro 64 Bit
    Thread Starter
       #3

    Thanks, that seems to have worked, I also tried another approach and made a batch file to call the application, which is also working. I appreciate the time and help, thanks again to you! :)
      My Computer


  4. Posts : 3,788
    win 8 32 bit
       #4

    It's simpler to just make a short cut directly to the exe
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:32.
Find Us