Pushing a Folder Shortcut Out to Workstations
Novell Cool Solutions: Trench
By Owen Zorge
Digg This -
Posted: 9 Jun 2004
We needed to push a folder shortcut out to a bunch of workstations. ZEN for Desktops was the obvious answer but there was no specific option for this when creating an application object. We also tried to use the directory location in the "Path to file" option in the app object. Neither of these options worked.
We were able to do exactly what we wanted by creating a simple application object that would run explorer.exe. Then using the Microsoft Knowledge Base article 152457, we used the "Parameters" field on the app object to open an explorer window to the specific folder.
Here's how you do it.
- Create a new application object and select "A simple application (no .AOT/.AXT/.MSI file)."
- Fill in the "Object Name" field.
- In the "Path to file:" field, enter "explorer.exe" (or just "explorer").
- Add additional requirements if necessary.
- Add user and workstation associations as necessary.
- Finish the creation of the Application Object.
- Open the new Application Object and select the Run Options - Application tab.
- Insert parameters (command-line options as MS calls them, MS KB article #152457) for explorer.exe. We used:
You don't need to enter anything in the "Working Directory" field.
- Click OK and refresh Application Explorer on the associated user workstation. You're done!
This will open an explorer window to that specific location without any files selected. You can use mapped drive letters or a UNC path (\\server\volume\folder).
Other parameters (command-line options) per the MS KB article are:
Opens a window view with TestApp selected.
This opens Explorer with C: expanded and TestApp selected.
Opens a window view of the specified share with TestApp selected.
See Microsoft Knowledge Base article 152457 for more details and information.
If you have any questions you may contact Owen at email@example.com