hey,
need some help on vb6, a few different things...
some background, i'm basically creating my own custom system restore disc for when i reformat my h.d.
when i put the dvd in the drive, it will autostart, display a entry message and then have a start button to begin the process.
it will begin by deleting the standard windows wallpapers and screensavers, copy my wallpaper collection, delete some unnecessary shortcut links (windows catalog, program access, etc.), install fonts, and apply some registry tweaks. once it is done doing all of that, it will begin to setup all of my "standard" applications .
so....
where i am getting stuck on is using "generic" locations (%CDROM%, %systemdrive%, %UserProfile%, etc.), which i'm not sure you can use in vb.
all of this was originally a batch file where i was able to use the function:
xcopy %CDROM%themesInspirat c:windowsresourcesthemesInspirat /s/i
i don't want to create it using specific drive paths for the cdrom, thus the %CDROM% (in case i repartition and the drive letters change, but windows for me will always be on the c drive)
i tried the obvious in vb6, that did not work:
FileCopy "%CDROM%themesInspirat", "c:windowsresourcesthemesInspirat /s/i"
another example of this type of functionality i need to do is making a directory on the desktop of the current user logged in (%UserProfile%), but i can't do something like:
md "%UserProfile%DesktopATIDriver"
can anyone tell me how i would be able to do something like this?
thanks much
Aqua-Soft Forums