Rob,
quote:
Did you have any problems with the printers.inin file being created? I cant get that file created anywhere..??
What is this?
In our environment, the H: Drive is the client's home drive that they would have access to.
Maybe some more testing is in order?
in the PRINTERS.KIX code -
code:
;printers.kix
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DIM $prireg, $x, $i, $rc, $ps
$loc='HKEY_CURRENT_USER\Network\LPT1'
$reg='HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion'
$dev=$reg+'\Devices'
$nprt=Split(ReadValue($reg+'\Windows','Device'),',')[0]
$sysdrv=SubStr('%WINDIR%',1,2)
IF Exist('Z:')
$ps='Z:\Scripts_DO_NOT_DELETE'
ELSE
$ps=$sysdrv+'\Scripts'
ENDIF
IF 0=Exist($ps)
MD $ps
ENDIF
$ps=$ps+'\Printsetup.ini'
Change this to -
code:
;printers.kix
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DIM $prireg, $x, $i, $rc, $ps
$loc='HKEY_CURRENT_USER\Network\LPT1'
$reg='HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion'
$dev=$reg+'\Devices'
$nprt=Split(ReadValue($reg+'\Windows','Device'),',')[0]
$sysdrv=SubStr('%WINDIR%',1,2)
IF Exist('Z:')
$ps='Z:\Scripts_DO_NOT_DELETE'
ELSE
$ps=$sysdrv+'\Scripts'
ENDIF
IF 0=Exist($ps)
MD $ps
ENDIF
?$PS
?'Press a key to continue'
Get $
$ps=$ps+'\Printsetup.ini'
You should be able to get the drive and directory and find where you are placing the INI file.
Thanks,
Kent