Re: create subdir



"DizWiz" <dizwiz@xxxxxxxxxx> schrieb:
Dim windowsdir as String
Dim dircreate
dircreate="backup"
windowsdir=environ$("windir")
My.Computer.FileSystem.CreateDirectory(windowsdir)

I want to create the directory "backup" under the windows directory and i
don't want to use the absolute path, what am i missing?

\\\ Imports System.IO .. .. .. My.Computer.FileSystem.CreateDirectory( _ Path.Combine(Environ("windir"), "backup") _ ) ///

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
.



Relevant Pages

  • Re: Form load errors
    ... coming from the control itself (or the fact that the declaration's no ... the toolbar is there and it fully functional. ... "Missing" and, if so, either check or uncheck ... I think I'll go back to a backup copy of the form and copy/paste the changed ...
    (microsoft.public.vb.general.discussion)
  • Re: Battery Dead Win CE 2002
    ... disappear when the battery drained completely. ... good third party backup trade as well. ... It had lost the owner ... else is missing, but the companion CD doesn't seem to have PocketPC ...
    (microsoft.public.pocketpc)
  • Re: windows lost when adding new memory
    ... (note the missing drive prefixing the directory path) ... Is a normal backup sufficient to recover a non-bootable pc or does this ... Simply removing an incompatible RAM module is usually enough to return ... web site for specific instructions and compatibility requirements. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: OT - help finding a file
    ... Don't have any ideas offhand but where in the directory structure was ... I can rebuild most of it from a backup copy, ... missing some current data. ... to a hidden file. ...
    (rec.music.makers.guitar.jazz)
  • Re: Ghost or better copy application.
    ... I think it is missing a file. ... Or you can buy Acronis True Image for your imaging and backup needs. ... old Ghost floppy. ... I would like to use one that lets you create a floppy like ...
    (microsoft.public.windowsxp.hardware)