LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create shortcut folder in desktop

Solved!
Go to solution

Hi,

 

I can make installer using project explorer and i able to create a exe shortcut as destop as well. I also able to create folder automatically using the function Now i have a problem, Let say i have a folder in c:\\ called abc and i wana create a shortcut of this path at the destop . How to do this please help? PLZ URGENT thank u

0 Kudos
Message 1 of 30
(6,651 Views)

I haven't done this before, but I've search some results from web,

 

Will this help you?

Best Regards

Hu Yu
0 Kudos
Message 2 of 30
(6,637 Views)

Hi Hu Yu,

 

Thanks ..but i need to create one whole folder as a shortcut in desktop..this command is workable for making exe shortcut..Please post me if u got any example of creating a folder as shortcut..please

0 Kudos
Message 3 of 30
(6,632 Views)

Well, I've tried this out:

 

The shortcut.exe was downloaded form here,

 

it maybe a little different, but you can run shortcut in CMD to get a help

 

the command to create a shortcut 1234.lnk under C:\, which point to folder 1234 under D:\ is as below

 

<Shortcut.exe Path>shortcut /F:"C:\1234.lnk" /A:c /T: D:\1234

<Shortcut.exe Path>The command completed successfully.

Message Edited by NIhuyu on 01-27-2010 02:12 AM
Best Regards

Hu Yu
Message 4 of 30
(6,622 Views)
how to do this with lab view 8.0..
0 Kudos
Message 5 of 30
(6,593 Views)

In all versions of LabVIEW

 

command shortcut.PNG

Note there is no space between /T: and D:. I placed one just to avoid the emotion icon, which may be displayed as /T:D:

 

 

Message Edited by NIhuyu on 01-27-2010 08:58 PM
Best Regards

Hu Yu
Message 6 of 30
(6,580 Views)
hi, how to copy to desktop?
0 Kudos
Message 7 of 30
(6,556 Views)

I do think you can solve the "how to copy to desktop" question easily by looking into Functions->Programming->File I/O->Advanced File Functions or just use a COPY command inSystem Exec.vi

 

 

 

 

Best Regards

Hu Yu
0 Kudos
Message 8 of 30
(6,552 Views)

Dear Hu Yu,

 

Thanks for ur guidance. Actually i dont have .Ink file. I have a folder in c: called ABC..c:\ABC. Now i want to create a Ink for the folder automatically and to be placed in the desktop . How tis can been done? Plz help thank u

0 Kudos
Message 9 of 30
(6,516 Views)

Jeyanthi,

 

What word you didnt understood in the message posted by "huyu"

 

the command to create a shortcut 1234.lnk under C:\, which point to folder 1234 under D:\ is as below

 

<Shortcut.exe Path>shortcut /F:"C:\1234.lnk" /A:c /T:D:\1234

<Shortcut.exe Path>The command completed successfully.

 

Why i say this because ,i coud run the same sucesfully see the image attached.

 

 

 Shortcut.gif

 

 

Just in case if you havent understood, the "C:\1234.lnk" is the "path" of the shortcut file and "1234" is the "name" of the shortcut file (this file gets generated automatically and you just have to specify the name and the path)

 

"D:\1234" is the "folder path" to which you would like to assign or create the shortcut. Hope you get it.

 

Also the <Shortcut.exe Path> is the "path" where you have downloaded and stored the "Shortcut.exe" in your local machie

 

In the above example i have created the shortcut for the folder "1" in "C:\" drive with the shortcut name as "4" in "c:\"

Regards
Guru (CLA)
0 Kudos
Message 10 of 30
(6,494 Views)