I'm trying to make a windows 98 compatiable batch file that "reads" the current user's username and imputs it into a command.
Ex:
program.exe \\server\%username%
The problem is that only nt based systems recognize the %username% variable. Does anyone know a way to do this with windows 98? I don't want the user to have to enter anything. I want it to be fully automatic.
Tia.
Ex:
program.exe \\server\%username%
The problem is that only nt based systems recognize the %username% variable. Does anyone know a way to do this with windows 98? I don't want the user to have to enter anything. I want it to be fully automatic.
Tia.
