Create A Shortcut with Parameter

YanAndrew

New member
Local time
8:24 PM
Messages
9
Location
Malaysia
Hi Guys,

I am trying to create a shortcut to a BIOS exe with the paramater " /writehdrfile", except I have no idea what that means.

Can someone please advise how do I go about creating a shortcut to the BIOS exe with parameter " /writehdrfile" please?

Appreciate your help on this.


Andrew
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Inspiron N4110
OS
Windows 7 Home Premium (64-bit)
CPU
Intel Pentium(R) M Processor 1500 MHz
Memory
4GB DIMM DDR3 1333MHz
Hard Drives
500GB SATA (7200rpm)
Antivirus
BitDefender Total Security 2018
Browser
Opera & Firefox (both up-to-date)
Greetings YanAndrew

In Windows 7, it is possible to create a new shortcut for a DOS program that is using a command line switch parameter. To do this you would make a shortcut for cmd.exe and supply as one argument the DOS .exe, the .exe parameter and also the Directory Path to the .exe file, all as one string between double quotes ("").

To illustrate the target syntax, it would look something similar to this:
cmd.exe /k "<DirectoryPath>/BIOS.exe /writehdrfile"

where:
cmd.exe - the command prompt (DOS prompt)
/k - switch for cmd.exe
<DirectoryPath> - full path to folder containing BIOS.exe program
BIOS.exe - DOS program
/writehdrfile - parameter for BIOS.exe

The trick is to create new shortcut for cmd.exe, then it is relatively simple from there on.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Hello Iko22,

So basically, if the BIOS file is N4110A12.exe & it is located on my Desktop, I plonk in

cmd.exe /k "C:\Users\YanAndrew\Desktop\N4110A12.exe /writehdrfile"

in a notepad?

Then, I save just save it as N4110A12-shortcut?

Am I correct?


YanAndrew
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Inspiron N4110
OS
Windows 7 Home Premium (64-bit)
CPU
Intel Pentium(R) M Processor 1500 MHz
Memory
4GB DIMM DDR3 1333MHz
Hard Drives
500GB SATA (7200rpm)
Antivirus
BitDefender Total Security 2018
Browser
Opera & Firefox (both up-to-date)
Hello Iko22,


in a notepad?

Then, I save just save it as N4110A12-shortcut?

Am I correct?


YanAndrew

notepad is not necessary in creating new shortcut.

instead, 1) Create a Shortcut using Microsoft's Wizard.
2) When you see box called "Type in the location of the item", then you plonk in cmd.exe /k. "C:\Users\YanAndrew\Desktop\N4110A12.exe /writehdrfile" :cool:
3) Click next, then enter file name N4110A12-shortcut
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Back
Top