We currently have a network mapped dos program opening with Batch files. I tryed to do "run as administrator" on the batch file to resolve the problem related to net use when I try to print, but when I do "Run as administrator" it doesn't open anything...
I can't figure out how I'll be able to print now, perhaps, I'm not the programmer of this dos program and don't known all how it's working.
Usually, I'm using "Net use lpt1 \\server_Or_computer\printer"
and after print I do a "Net use lpt1 /delete /y"
It have been working on Win95,Win98,WinXP, Win2k and 2k3, but no more working on Vista. Its actually a problem related to permissions...since we aren't in administrator mode.
Here's an example fo the "opening batch file" for our dos program.
ECHO OFF
IF EXIST G:LOGSIGEC.TXT GOTO EXIT
COPY j:LOGSIGEC.TXT G:
I:
CD 001
J:
BTRIEVE/P:2048
CALL FCS-HIST 001
DEL G:LOGSIGEC.TXT
BUTIL -STOP
I:
CD..
GOTO FIN
:EXIT
TYPE G:LOGSIGEC.TXT
PAUSE
:FIN
IT's really important since it's our accounting, inventory and all other related stuff program for now...
I only have 1 vista machine over more than 60 XP machines, but all new computers we buy are going to be VISTA business, so...
I can't figure out how I'll be able to print now, perhaps, I'm not the programmer of this dos program and don't known all how it's working.
Usually, I'm using "Net use lpt1 \\server_Or_computer\printer"
and after print I do a "Net use lpt1 /delete /y"
It have been working on Win95,Win98,WinXP, Win2k and 2k3, but no more working on Vista. Its actually a problem related to permissions...since we aren't in administrator mode.
Here's an example fo the "opening batch file" for our dos program.
ECHO OFF
IF EXIST G:LOGSIGEC.TXT GOTO EXIT
COPY j:LOGSIGEC.TXT G:
I:
CD 001
J:
BTRIEVE/P:2048
CALL FCS-HIST 001
DEL G:LOGSIGEC.TXT
BUTIL -STOP
I:
CD..
GOTO FIN
:EXIT
TYPE G:LOGSIGEC.TXT
PAUSE
:FIN
IT's really important since it's our accounting, inventory and all other related stuff program for now...
I only have 1 vista machine over more than 60 XP machines, but all new computers we buy are going to be VISTA business, so...