Make shortcuts using a batch file

Hakon

New member
Local time
4:30 AM
Messages
72

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 build 7600 64 bit
CPU
Phenom II X4 955 retail 3.2GHz
Motherboard
ASRock M3A790GXH/USB3 ATX AMD AMD3
Memory
4x GeiL 2GB Value PC3-10660 CL9 DC DDR3-1333, CL 9-9-9-28
Graphics Card(s)
PowerColor Radeon HD5850 PCS+ 1024MB, 256-bit GDDR5
Sound Card
Built in
Hard Drives
G.Skill Phoenix Pro 120GB SATA2 SSD Sandforce SF-120
Samsung Spinpoint 500GB SATA2 7200RPM
PSU
Tacens Radix III Smart 520W
You can use the start command:

@echo off

start /max "C:\Windows\System32\Notepad.exe" (or another path)
 

My Computer

Computer Manufacturer/Model Number
Sony Vaio Z46GDU
OS
Windows 7 Ultimate x86-64
CPU
[email protected] 1066MHz FSB
Motherboard
Sony branded
Memory
6GB DDR3 1066MHz
Graphics Card(s)
9300M GS 256MB Dedicated (Speed) + Intel4500MHD (Stamina)
Sound Card
Realtek HD Audio
Monitor(s) Displays
13.1' WXGA
Screen Resolution
1600x900
Hard Drives
320GB 7200RPM w/ 16MB cache
Internet Speed
1MB/s
Thats not exactly what i'm looking for here, the thing is: I've made a little batch script to make it easier for me to get on the EVE Online test server, and other people have found it very useful too. ATM it creates a "shortcut" to the client by writing a batch file on the desktop which launches it, but i want a real shortcut(.lkn), not a .bat file, it looks better ;)
I have compiled the batch script into an .exe and included a shortcut making program, this works fine but I would prefer it without the shortcut making program, if its possible.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 build 7600 64 bit
CPU
Phenom II X4 955 retail 3.2GHz
Motherboard
ASRock M3A790GXH/USB3 ATX AMD AMD3
Memory
4x GeiL 2GB Value PC3-10660 CL9 DC DDR3-1333, CL 9-9-9-28
Graphics Card(s)
PowerColor Radeon HD5850 PCS+ 1024MB, 256-bit GDDR5
Sound Card
Built in
Hard Drives
G.Skill Phoenix Pro 120GB SATA2 SSD Sandforce SF-120
Samsung Spinpoint 500GB SATA2 7200RPM
PSU
Tacens Radix III Smart 520W
Batch file attached

Hi Hakon,

It seems that there is no easy way to do this. So I dropped the vb scripting solutions found at the IT Resource Center forums into a batch file for you.

This batch will create the script, run it, and then delete the script. It will create a shortcut called EVE on your desktop. My example batch copies the %SystemRoot%\System32\CMD.exe file, you'll need to replace this line (each of the 3 times that it occurs) with the path to your *.exe. You may also wish to replace the path to the shortcut (%userprofile%\Desktop\EVE.lnk), if you want it somewhere else such as in your start menu.

Regards

Tim
 

Attachments

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
You could alos do something like this of you have CCleaner on your system:

@ECHO OFF
"C:\Program Files\CCleaner\CCleaner.exe" /AUTO
ipconfig /flushdns

Save as Flushdns.bat
 

My Computer

Computer Manufacturer/Model Number
Cheap $399.00 E-Machine
OS
Windows 7 Pro & Vista Home Premium
CPU
Athlon 64 3800+ (Orleans) 2.40GHz
Motherboard
Winfast
Memory
2GB DDR2 RAM DIMM
Graphics Card(s)
NVIDIA GeForce 8500 GT 512 MB memory HDMI out
Sound Card
creative X-Fi Exteme 7..1 channel
Monitor(s) Displays
Acer V223W 22" widescreen DVI
Screen Resolution
1680x1050
Hard Drives
WDC WD5 500GB
WDC WD25 250GB
PSU
OCZ 550 watt
Case
Gateway
Cooling
2 fans
Keyboard
Dell
Mouse
Sony Vaio
Internet Speed
18MB/s down - .72MB /s up
Thats not exactly what i'm looking for here, the thing is: I've made a little batch script to make it easier for me to get on the EVE Online test server, and other people have found it very useful too. ATM it creates a "shortcut" to the client by writing a batch file on the desktop which launches it, but i want a real shortcut(.lkn), not a .bat file, it looks better ;)
I have compiled the batch script into an .exe and included a shortcut making program, this works fine but I would prefer it without the shortcut making program, if its possible.
Assuming you installed the Singularity Client into a separate directory (like CCP suggests...), then you can simply go to that directory, find the client, and make a shortcut to the desktop.

~Lordbob
 

My Computer

Computer Manufacturer/Model Number
Hera
OS
Windows 7 Ultimate x64, Mint 9
CPU
Intel i5-2500k
Motherboard
ASUS P8P67 Pro
Memory
2x 4Gb Corsair VENGEANCE DDR3-1600
Graphics Card(s)
NVidia GeForce N260GTX Twin Frozr
Sound Card
Realtek HD OnBoard Audio
Monitor(s) Displays
ASUS 24" Monitor
Screen Resolution
1920x1080
Hard Drives
G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II
PSU
Cooler Master Real Power Pro 750W
Case
Cooler Master Haf 932
Cooling
Fans
Keyboard
Razer Tarantula
Mouse
Razer Lachesis
Internet Speed
not fast enough
Thanks for the replies, i have decided to use a 3rd party shortcut making program, and ive compiled the .bat along with shortcut.exe, ive attached the program and its contents seperate (you can decompile the program by running it with a /d parameter)

Thats not exactly what i'm looking for here, the thing is: I've made a little batch script to make it easier for me to get on the EVE Online test server, and other people have found it very useful too. ATM it creates a "shortcut" to the client by writing a batch file on the desktop which launches it, but i want a real shortcut(.lkn), not a .bat file, it looks better ;)
I have compiled the batch script into an .exe and included a shortcut making program, this works fine but I would prefer it without the shortcut making program, if its possible.
Assuming you installed the Singularity Client into a separate directory (like CCP suggests...), then you can simply go to that directory, find the client, and make a shortcut to the desktop.

~Lordbob

The whole things purpose is to do it automatically (copy client to new folder > create shortcut to said client with the /server:singularity parameter ) ;)
I have attached the program, if you play eve, try it out and give me some feedback and comments :p

Hi Hakon,

It seems that there is no easy way to do this. So I dropped the vb scripting solutions found at the IT Resource Center forums into a batch file for you.

This batch will create the script, run it, and then delete the script. It will create a shortcut called EVE on your desktop. My example batch copies the %SystemRoot%\System32\CMD.exe file, you'll need to replace this line (each of the 3 times that it occurs) with the path to your *.exe. You may also wish to replace the path to the shortcut (%userprofile%\Desktop\EVE.lnk), if you want it somewhere else such as in your start menu.

Regards

Tim

Thanks a lot! i might try it with the vbs instead ;)
 

Attachments

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 build 7600 64 bit
CPU
Phenom II X4 955 retail 3.2GHz
Motherboard
ASRock M3A790GXH/USB3 ATX AMD AMD3
Memory
4x GeiL 2GB Value PC3-10660 CL9 DC DDR3-1333, CL 9-9-9-28
Graphics Card(s)
PowerColor Radeon HD5850 PCS+ 1024MB, 256-bit GDDR5
Sound Card
Built in
Hard Drives
G.Skill Phoenix Pro 120GB SATA2 SSD Sandforce SF-120
Samsung Spinpoint 500GB SATA2 7200RPM
PSU
Tacens Radix III Smart 520W
VBS

I would use the vbs too, it's just 'neater'.

My batch was simply to meet your requirements and it looks like you now have a few solutions to play with. Even better!

Good luck with your project!
 

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
thank you so much for this ill be creating other shortcut using this

- - - Updated - - -

ill bve getting new ideas using this thread thank you
 

My Computers

System One System Two

  • OS
    win 11
  • Computer type
    PC/Desktop
Back
Top