Command Prompt shortcut creation question

Basil

New member
Member
Local time
11:56 AM
Messages
97
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 :)

shortcut.jpg
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Win 7 Pro 64 Bit
CPU
Intel i5-4670K @ 3.4 GHz
Motherboard
Gigabyte GA-Z97X-Gaming 3
Memory
16 gig
Graphics Card(s)
On board
Hard Drives
SSD C: Drive
2 off 1 gig SATA in software RAID1 as D: Drive
Antivirus
Avast
Browser
Firefox
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
CPU
Haswell
Memory
4 GB
Monitor(s) Displays
Acer 23"
Screen Resolution
1920 x 1080
Hard Drives
Two hard drives, 1TB each: One for Linux, one for my data.
Keyboard
IBM Model M
Antivirus
Sophos (Linux), Trend Micro (Windows)
Browser
Firefox, Opera
Other Info
I use Samba to share my data drive with the other computers at my house and with my guest session in VMWare Workstation Player.
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Win 7 Pro 64 Bit
CPU
Intel i5-4670K @ 3.4 GHz
Motherboard
Gigabyte GA-Z97X-Gaming 3
Memory
16 gig
Graphics Card(s)
On board
Hard Drives
SSD C: Drive
2 off 1 gig SATA in software RAID1 as D: Drive
Antivirus
Avast
Browser
Firefox
It's simpler to just make a short cut directly to the exe
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Back
Top