Need some DOS help. ^_^

DigitalCancer

Diamond Member
Apr 6, 2004
3,726
0
76
I am wanting to make a shortcut for a program we use at work, you have to to the cmd prompt to start it. I am wanting to make an executable batch of some sort to start it up.

Additionally i am wanting to make a batch file that will launch all of my programs at once, and would like to try and launch my web-pages as well (i have about 8 to start everyday), i would just use FireFox for this, but the company won't let us. =/

Please help me out if you can. Thanks.
 

Allanv

Senior member
May 29, 2001
905
0
0
@echo off

call "C:\Program Files\Microsoft Office\Office\winword.exe"


etc etc the " " are there so that cmd ignores the long names
 

DigitalCancer

Diamond Member
Apr 6, 2004
3,726
0
76
well i could do that. BUT...this is a DOS command, comes up from another server so...there is no exe to link it to. As it is i have to 'START>Run>aruser' and the program launches. I want to somehow link this, maybe find a way to make it start up on login?
 

DigitalCancer

Diamond Member
Apr 6, 2004
3,726
0
76
Well, its on another server remotely, i think. Its a work thing so i'm not 100% sure on it. I just know how we have to start it. lol
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
you can just create a normal shortcut for that, no need to have a bat file

create a new shortcut with the link to the file like "\\servername\sharename\filename.exe"
 

letdown427

Golden Member
Jan 3, 2006
1,594
1
0
Originally posted by: Czar
you can just create a normal shortcut for that, no need to have a bat file

create a new shortcut with the link to the file like "\\servername\sharename\filename.exe"

And if it needs cmd line stuff, just put that after the "", i.e:

"\\servername\sharename\filename.exe" cmdline