/build/static/layout/Breadcrumb_cap_w.png

shortcut\OSD that opens a folder in Virtual Environment

Hi All,

Has anyone ever created an OSD\shortcut that simply opens a folder in the virtual environment? I thought it would be a simple thing to do but I'm having issues.

The Filename in Codebase ref is FILENAME="%CSIDL_PROGRAM_FILES%\Folder1".
It throws a windows explorer error stating it cannot find C:\Program Files\Folder1. If I manually create the folder locally then it just opens the local folder.

If I change the FILENAME to ="%CSIDL_PROGRAM_FILES%\Folder1\File1.txt" it opens the file without issue.
If I change the FILENAME to ="Q:\VirApp.001\VFS\CSIDL_PROGRAM_FILES\Folder1" it throws an access denied error.

The end user of the app needs to copy files to and from the application folders so thats why I need to give them access to the virtual environment.

Thanks,

0 Comments   [ + ] Show comments

Answers (3)

Posted by: DannyC 15 years ago
Orange Belt
0
I think you'll find you need to specify an exe in the filename and the folder as a parameter - you should be able to get away with using explorer.exe, but you will need to ensure that "open window in seperate process" or whatever it's called is set in the local explorer folder view properties..
Posted by: AngelD 15 years ago
Red Belt
0
ORIGINAL: DannyC

you should be able to get away with using explorer.exe, but you will need to ensure that "open window in seperate process" or whatever it's called is set in the local explorer folder view properties..

this can be done by running the explorer process with the /separate switch, ex.
explorer /separate C:\temp
Posted by: ChluainEois 15 years ago
Senior Yellow Belt
0
Setting %WINDIR%\explorer.exe as the filename and the folder I need to open as the parameter has worked. The /seperate switch didn't work for me, however I didn't need it as a seperate explorer window opens.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ