hi,
i have a script that reads a table in a database on a network drive (drive s
and creates an excel spread sheet on the user's local computer desk top.
my question is: is there anyway to find the user id from the local pc and plug it into the script, so that the excel file can be created on each user's desktop without them having to prompt them to enter their user id.
the path to each user id is like this:
c:\documents and settings\userid\desktop\excel_file.xls
i have a script that reads a table in a database on a network drive (drive s

my question is: is there anyway to find the user id from the local pc and plug it into the script, so that the excel file can be created on each user's desktop without them having to prompt them to enter their user id.
the path to each user id is like this:
c:\documents and settings\userid\desktop\excel_file.xls