Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Stick1337

    Scheduling a task through vbscript; getting error 2 (user access)

    Forget it. I just wrote a routine that uses schtasks.exe instead. Seems to be working for the moment!
  2. Stick1337

    Scheduling a task through vbscript; getting error 2 (user access)

    This is probably so trivial it's embarrassing, but I'm not sure what to do. I'll candidly admit I'm worse than a neophyte when it comes to VBScript or any Windows scripting; that said, I've managed to hack my way through some stuff, and it's _mostly_ working like I want: with the following...
  3. Stick1337

    CSIDL_LOCAL_APPDATA, or Local Settings\Application Data: Help! :(

    dilettante, thank you for your insights! I'll definitely give that a shot... ...and it works! Excellent! Thank you very much for your time!
  4. Stick1337

    CSIDL_LOCAL_APPDATA, or Local Settings\Application Data: Help! :(

    Thanks, EBGreen! I'll definitely look into the WScript.Network object. (I just started messing with WSH and VBScript last night, so I'm well below even n00b status.)
  5. Stick1337

    CSIDL_LOCAL_APPDATA, or Local Settings\Application Data: Help! :(

    I just realized that I need to move some files from folder x to C:\Documents and Settings\{User}\Local Settings\Application Data\ and NOT to C:\Documents and Settings\{User}\Application Data I can't for the life of me figure out how to get the path for this folder! In searching, I've come...
  6. Stick1337

    Get full path from BrowseForFolder when Items.Item doesn't exist?

    Aha! (Sort of!) Apparently, a Folder object's Self property is really a FolderItem object -- which does have a Path property. Now things just looke like this: ... Set objFolderItem=objFolder.Self WScript.Echo objFolderItem.Path ... which does indeed return "C:\Documents and...
  7. Stick1337

    Get full path from BrowseForFolder when Items.Item doesn't exist?

    Here's what I have so far: Dim objWSH Dim objShell Dim objFolder Dim objFSO Dim strUserProfile, strBFF 'Create a WScript.Shell object and get the PROCESS environment variables Set objWSH=WScript.CreateObject("WScript.Shell") Set colProcEnvVars=objWSH.Environment("Process") 'Assign the...
  8. Stick1337

    Get full path from BrowseForFolder when Items.Item doesn't exist?

    First, I just decided (actually, a project decided for me) to dive into WSH and VBScript yesterday. So I don't know anything -- especially where or what to search for regarding my questions. :( Here's what I'm trying to accomplish: Currently, I have a .bat file that unzips some archives and...

Part and Inventory Search

Back
Top