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 strongm 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. toby77jo

    asp page outputs from an access blob field containing rtf tagged text

    Can you tell me what I am doing wrong? I have a simple asp page that is outputting text from a blob field in an access database. The output on the site looks like this: {\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}} {\*\generator Riched20...
  2. toby77jo

    ASP to output text in access blob field containing RTF tagged text

    Can you tell me what I am doing wrong? I have a simple asp page that is outputting text from a blob field in an access database. The output on the site looks like this: {\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}} {\*\generator Riched20...
  3. toby77jo

    Login script - disable the close window/command prompt window

    I am using this code from Mark, How do I modify it to use the domain user name instead of the domain group name, For Each GroupObj In UserObj.Groups Select Case GroupObj.Name 'Check for group memberships and take needed action 'In this example below, ADMIN and WORKERB are groups...
  4. toby77jo

    Login script - disable the close window/command prompt window

    but in our firm we have 4 printers, in your example you use one printer.. PrinterPath = "\\markmac-pc\HP LaserJet 6P" how would I put a printer path with 4 different printers?
  5. toby77jo

    Login script - disable the close window/command prompt window

    I am now using the wonderful script from markdmac , I have run into one problem though, I am enumerating all the network printers, deletes them, and remount all the network printer, when doing that automatically each user loses his personal settings for the printers they are using, how may I put...
  6. toby77jo

    Login script - disable the close window/command prompt window

    thanks it is working now. I have tried to find on google how to syncronize the time on each workstation, i can't find it anywhere, anyone knows how to sync the time with vbs?
  7. toby77jo

    Login script - disable the close window/command prompt window

    ok I am trying my best here, I admit, I am a newbie!! What may be wrong with this code.. set WshShell = WScript.CreateObject("WScript.Shell") strDocs = WshShell.SpecialFolders("MyDocuments") WScript.Echo(strDocs) Set objFSO = CreateObject("Scripting.FileSystemobject") If...
  8. toby77jo

    Login script - disable the close window/command prompt window

    I just did a test and nothing is being copied Set objFSO = CreateObject("Scripting.FileSystemobject") If objFSO.FileExists("c:\test\*") Then objFSO.CopyFile "c:\test\*", "d:\test" End If What if there are subfolders? What is the flag for this to only copy modified files since last copy...
  9. toby77jo

    Login script - disable the close window/command prompt window

    in my login.vbs can I execute the bat file that contains the code (I would put the execute at the end in the vbs) ? if exist "%USERPROFILE%\My Documents\Working documents" XCOPY "%USERPROFILE%\My Documents\Working documents\*" "\\Ade-storage\DATA\z\Permanents\%USERNAME%" /D /s /i /c /r /y if...
  10. toby77jo

    Login script - disable the close window/command prompt window

    I have come to the conclusion that I do not want to use syncronised folder. Is there a way in vbs to achieve this if exist "%USERPROFILE%\My Documents\Working documents" XCOPY "%USERPROFILE%\My Documents\Working documents\*" "\\Ade-storage\DATA\z\Permanents\%USERNAME%" /D /s /i /c /r /y if...
  11. toby77jo

    Login script - disable the close window/command prompt window

    how do i use syncronized folders in a vbs for all users in our domain?
  12. toby77jo

    Login script - disable the close window/command prompt window

    XCOPY "%USERPROFILE%\My Documents\Working documents\*" "\\Ade-storage\DATA\z\Permanents\%USERNAME%" /D /s /i /c /r /y How can i achieve this in a vbs, with xcopy I am using flags to only copy files which have a different timestamp in the file? I do not want to copy a users "My documents"...
  13. toby77jo

    Login script - disable the close window/command prompt window

    how would i convert this to vbs? @echo off net use z: /delete net use y: /delete net use x: /delete net use v: /delete net use w: /delete net use s: /delete net use p: /delete net use z: \\ade-storage\DATA\z net use y: \\ade-storage\INITIALES\y net use x: \\ade-storage\Installs net use v...
  14. toby77jo

    Create a shortcut- PLEASE SOMEONE!

    Hi I am using this script and would like to change it to create html bookmarks/links instead of shortcuts. Is that possible? set WshShell = WScript.CreateObject("WScript.Shell") strDesktop = WshShell.SpecialFolders("Desktop") set oShellLink = WshShell.CreateShortcut(strDesktop _ &...
  15. toby77jo

    Login script - disable the close window/command prompt window

    Hi, I am using a login.bat file to map network drives, sync files with some vbs files etc. My question is, can I make it impossible for the users to close the command prompt window that is opened from the login.bat file? My problem is that some users close the window before all scripts have...
  16. toby77jo

    Script to back up PST files from all computers to Server

    sorry guys, found the error If lastBackup = date(now) should have been If lastBackup = date
  17. toby77jo

    Script to back up PST files from all computers to Server

    I am using this script. It is supposed to backup each friday and only one time each friday in case the user reboots many times that day. My script always says "WshShell.Popup "Your emails have already been copied today", 20" even if I have deleted the regkey with the date. Somebody see an...
  18. toby77jo

    Script to back up PST files from all computers to Server

    would it be possible to integrate this script from copywithvss.cmd + to use the vshadow.exe from the sdk for both xp/2003 server ? setlocal @REM test if we are called by VSHADOW if NOT "%CALLBACK_SCRIPT%"=="" goto :IS_CALLBACK @REM @REM Get the source and destination path @REM set...
  19. toby77jo

    Script to back up PST files from all computers to Server

    I am using this script as well. Is there a way to change it to use Volume Shadow Copy? The idea is that the backup can run even if Outlook is open.
  20. toby77jo

    list multiple partners for one affair

    The table "Relations Affaires - Expertise" has a layout like this IDRel (Autonumber) A_ID E_ID The table is always sorted by IDRel, the first instance you find of E_ID is always the one that is most important. I am using an Access 2003 db, will the first() command work? And if it works how...

Part and Inventory Search

Back
Top