Why network shortcuts don't show up in some save dialog?
I have a shortcut on my desktop that points to a shared folder on a different PC. E.g \\differentpc\sharedfolder. When I'm in notepad and I save a file, I can see this shortcut in the desktop in the save dialog. That's expected. However, in another application (control center for a brother multi function print scan fax machine)'s set destination dialog, I can see desktop but the shortcut folder is not visible. However, if I enter the UNC path directly into the destination path, it works fine. Meaning the next time I scanned a file, the save-as dialog comes up and defaults to the shared folder (and shows the files already in there). I'm running as a limited user. The shared folder at \\differentpc\sharedfolder allows me to read and write files. Although pasting the UNC path is an ok solution, I'd still like to know how to make the shortcut to the shared folder show up in all save dialogs. Any ideas?
May 24th, 2012 3:10pm

Hi, Have you tested the issue in Clean Boot environment? Does it just occur to this specific application? In addition, you may re-create these UNC path and use net use /persistent:yes command.Kim Zhou TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 6:21am

My guess is that the set destination dialog that you mention is recognizing the shortcut as a file rather than a navigable path. You may be able to work around this issue by using a "Folder Shortcut", which actually becomes part of the Explorer namespace. Creating a Folder Shortcut is achieved with the following steps: Create the Folder that will act as the shortcut, e.g.: %userprofile%\Desktop\myShortcutCreate a Desktop.ini in the folder with some special options set: [.ShellClassInfo] CLSID2={0AFACED1-E828-11D1-9187-B532F1E9575D} Flags=2 ConfirmFileOp=1 Create a shortcut in the folder which points to the desired target path. This file must be called "Target.lnk".Set the required attributes on the Desktop.ini and Shortcut files Here's a powershell function that I modified from another technet article to create Folder Shortcuts wherever you'd like: function Add-FolderShortcut { param( [Parameter(Mandatory=$true)] [string]$shortcutPath, [Parameter(Mandatory=$true)] [string]$targetPath ) #TODO Test the target path. if (!(Test-Path $targetPath)) { throw "Target path does not exist." } # Create the folder $shortcutFolder = New-Item -Path $shortcutPath -type directory -EA Stop # Create the ini file $desktopIniContent = @" [.ShellClassInfo] CLSID2={0AFACED1-E828-11D1-9187-B532F1E9575D} Flags=2 ConfirmFileOp=1 "@ $desktopIni = New-Item -Path $shortcutFolder -Name "Desktop.ini" -type file -value $desktopIniContent # Create the shortcut file $shortcut = (New-Object -ComObject WScript.Shell).Createshortcut("$shortcutFolder\target.lnk") $shortcut.TargetPath = $targetPath $shortcut.IconLocation = "%SystemRoot%\system32\SHELL32.DLL, 85" $shortcut.Description = $targetPath $shortcut.WorkingDirectory = $targetPath $shortcut.Save() # Set attributes on the files & folders $desktopIni | Set-ItemProperty -Name Attributes -Value ([IO.FileAttributes]::System -bxor [IO.FileAttributes]::Hidden) $shortcutFolder | Set-ItemProperty -Name Attributes -Value ([IO.FileAttributes]::ReadOnly) }
August 15th, 2012 12:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics