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...
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...
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...
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?
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...
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?
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...
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...
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...
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...
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"...
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...
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 _
&...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.