title: Delete file within APPDATA folder
body: <p>I have many PCs that currently have a Personal macro workbook installed. More specifically, they all have a shortcut to a Personal macro workbook on a network drive.</p>
  
  <p>To install that, I went to each PC and ran this VBScript:</p>
  
  <pre><code>Option Explicit
  Dim oFSO, strAppData, objShell
  Set objShell = CreateObject("WScript.Shell")
  Set oFSO = CreateObject("Scripting.FileSystemObject")
  objShell.CurrentDirectory = oFSO.GetParentFolderName(WScript.ScriptFullName)
  strAppData=objShell.ExpandEnvironmentStrings("%APPDATA%") &amp; "\Microsoft\Excel\XLSTART\"
  oFSO.CopyFile "H:\Folder\Folder\Folder\PERSONAL 1.xlam - Shortcut.lnk", strAppData, True
  Set objShell = Nothing
  Set oFSO = Nothing
  </code></pre>
  
  <p>Now though, I want to remove that shortcut to PERSONAL 1.xlam from the XLSTART folder and copy over a shortcut to a different macro workbook.</p>
  
  <p>This might be really easy, but I'm new to VBS and I haven't found a way to delete a file without having the the exact path. And since the path is going to be unique to each PC, I can't do that here.</p>