hi!
when i try to open a file to the path of file$, i always get a MAV.
the commandline includes the whole path including the drive D:\ and the filename. i replaced the "" and trimmed it. thats all i can do and it still doesnt work.
important is, that CurrentDir() = "C:\Documents and settings\......." when i add a commandline. when i don't, the currentdir is usualy the dir of the executable...
what am i doing wrong here?
thx for upcomming answers:)
file$ = CommandLine() file$ = Replace(file$, Chr(34), "") file$ = Trim(file$)
when i try to open a file to the path of file$, i always get a MAV.
the commandline includes the whole path including the drive D:\ and the filename. i replaced the "" and trimmed it. thats all i can do and it still doesnt work.
important is, that CurrentDir() = "C:\Documents and settings\......." when i add a commandline. when i don't, the currentdir is usualy the dir of the executable...
what am i doing wrong here?
thx for upcomming answers:)