I'm trying to delete a file with
File.Delete("c: \Documents and Settings\%usern ame%\Applicatio n
Data\Microsoft\ Excel\excel*.xl b")
On doing this I get an Exception "Illegal characters in path" - I assume its
the %username% bit
I trierd
Dim UserName As String %username%
File.Delete("c: \Documents and Settings\" & UserName & "\Applicati on
Data\Microsoft\ Excel\excel*.xl b")
Still get the same error
How can I get the Username from the system !!???
File.Delete("c: \Documents and Settings\%usern ame%\Applicatio n
Data\Microsoft\ Excel\excel*.xl b")
On doing this I get an Exception "Illegal characters in path" - I assume its
the %username% bit
I trierd
Dim UserName As String %username%
File.Delete("c: \Documents and Settings\" & UserName & "\Applicati on
Data\Microsoft\ Excel\excel*.xl b")
Still get the same error
How can I get the Username from the system !!???
Comment