Jump to content

Recommended Posts

Posted

Not really sure what you're trying to do, as there's no reason to use a shortcut if you're using a bat file to start a program, but literally just use:

 

start NameOfShortcut.lnk

 

Steve

Posted

Hello

 

I solved my problem if any one interesting, I used the following in my bat file:

 

call "shortcut file path"

and you can get the path by shift_right click on the shortcut file > select "copy as path" then past it.

Posted

Hello

 

I solved my problem if any one interesting, I used the following in my bat file:

 

call "shortcut file path"

and you can get the path by shift_right click on the shortcut file > select "copy as path" then past it.

 

 

The reason of using the shortcut file because when I run the shortcut file the network drive is coming hidden so I need to create a bat file as the following:

 

1. A mount network drive.

2.Call the short cut file (I use it to set "Run as administrator", which is disable in the original bat file)

3. Delete the amounted network drive.

 

and that's it.

 

Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...