Welcome![Sign In][Sign Up]
Location:
Search - CreateDirectory

Search list

[File Operatemulticreate_dir

Description: 一般CreateDirectory函数只可以创建一级目录,也就是在已知文件夹下创建新文件夹,但是对任意给定的路径, CreateDirectory函数不能创建。该程序创建任意给定的路径-General CreateDirectory function can only create a directory, which is known folder, create a new folder, but for any given path, CreateDirectory function can not be created. The program creates the path of any given
Platform: | Size: 1879040 | Author: | Hits:

[Windows Developcreatedirectory

Description: code create directory in c-code create directory in c++
Platform: | Size: 1024 | Author: Yoyo | Hits:

[CSharpCreateDirectory

Description: This project file consist of code to Create a directory in a hard disc using C#. -This project file consist of code to Create a directory in a hard disc using C#.
Platform: | Size: 124928 | Author: Subodh | Hits:

[Windows Developjlwj

Description: 创建指定的目录(可以是多级目录) Option Explicit Private Declare Function MakeSureDirectoryPathExists Lib "imagehlp.dll" (ByVal lpPath As String) As Long Private Function CreateDirectory(ByVal sDirectory As String) As Boolean 创建指定的目录(可以是多级目录),sDirectory:要创建的文件夹-Create the specified directory (could be multi-level directory) Option Explicit Private Declare Function MakeSureDirectoryPathExists Lib " imagehlp.dll" (ByVal lpPath As String) As Long Private Function CreateDirectory (ByVal sDirectory As String) As Boolean ' Create the specified directory (which can be multi-level directory), sDirectory: To create a folder
Platform: | Size: 2048 | Author: xx | Hits:

[Special Effectszhengjiaobianhuan

Description: 几个正交变换的例子,对于学习数字图像的新手来说会有点帮助的。-CWinApp CSingleDocTemplate CCommandLineInfo ShowWindow UpdateWindow DragAcceptFiles CDialog CDataExchange CDocument MessageBox GetCurrentDirectory GlobalAlloc GlobalFree CFile CString CCmdUI CScrollView CView CBrush TextOut CreateSolidBrush SelectObject Rectangle StretchDIBits SetTextColor DeleteObject CPrintInfo SetTextAlign SetMapMode SetCurrentDirectory GetOpenFileName CreateDirectory GetSaveFileName CFileFind FindNextFile SetFileAttributes LoadCursor SetCursor CSize CFrameWnd
Platform: | Size: 2360320 | Author: mclong | Hits:

[.netCreateDirectory

Description: 可以在指定的路径下创建文件夹和删除文件夹。-CreateDirectory and delete directory
Platform: | Size: 26624 | Author: wanjiquan | Hits:

[Delphi VCLDelphi_GetCurrentDir

Description: 获取当前文件夹 GetCurrentDir 设置当前文件夹 SetCurrentDir ChDir SetCurrentDirectory 获取指定驱动器的当前路径名 GetDir 文件改名 RenameFile 建立文件夹 CreateDir CreateDirectory ForceDirectories 删除空文件夹 RemoveDir RemoveDirectory 建立新文件 FileCreate 获取当前文件的版本号 GetFileVersion 获取磁盘空间 DiskSize DiskFree 搜索文件 FindFirst FindNext FindClose 读取与设置文件属性 FileGetAttr FileSetAttr 获取文件的创建时间 FileAge FileDateToDateTime-获取当前文件夹 GetCurrentDir 设置当前文件夹 SetCurrentDir ChDir SetCurrentDirectory 获取指定驱动器的当前路径名 GetDir 文件改名 RenameFile 建立文件夹 CreateDir CreateDirectory ForceDirectories 删除空文件夹 RemoveDir RemoveDirectory 建立新文件 FileCreate 获取当前文件的版本号 GetFileVersion 获取磁盘空间 DiskSize DiskFree 搜索文件 FindFirst FindNext FindClose 读取与设置文件属性 FileGetAttr FileSetAttr 获取文件的创建时间 FileAge FileDateToDateTime
Platform: | Size: 2048 | Author: vivi | Hits:

[GUI DevelopCreateDirectory

Description: 查找路径是否存在,如果不存在该路径那么就创建这个路径-Find a path exists, the path does not exist then create the path
Platform: | Size: 7313408 | Author: york | Hits:

[Windows DevelopUseDirectory

Description:  使用C#怎么创建文件和文件夹?这是一个完整的源码实例,你只需在文本框中输入文件夹的路径和名称,点击“创建”按钮,即可创建一个文件夹,程序的实现过程:判断输入的文件夹名称是否为空,然后使用Directory类的Exists方法判断要创建的文件夹是否存在,再使用Directory类的CreateDirectory方法创建文件夹,最后给出创建成功的提示。这是一个适合C#新手参考的基础FSO操作实例。-Using C# how to create files and folders? This is a complete source code examples, you need to in the text box, enter the path and name of the folder, click on the " Create" button, you can create a folder, the implementation process of the program: to determine the input folder name is empty, and then use the Exists method of the Directory class to determine To create a folder exists, and then use the Directory class CreateDirectory create a folder, and finally gives create success tips. This is a suitable C# novice reference basis FSO operation instance.
Platform: | Size: 16384 | Author: 李有才 | Hits:

[CSharpUseDirectory

Description: 使用C#怎么创建文件和文件夹?这是一个完整的源码实例,你只需在文本框中输入文件夹的路径和名称,点击“创建”按钮,即可创建一个文件夹,程序的实现过程:判断输入的文件夹名称是否为空,然后使用Directory类的Exists方法判断要创建的文件夹是否存在,再使用Directory类的CreateDirectory方法创建文件夹,最后给出创建成功的提示。这是一个适合C#新手参考的基础FSO操作实例。-Using C# how to create files and folders? This is a complete source code examples, you need to in the text box, enter the path and name of the folder, click on the " Create" button, you can create a folder, the implementation process of the program: to determine the input folder name is empty, and then use the Exists method of the Directory class to determine To create a folder exists, and then use the Directory class CreateDirectory create a folder, and finally gives create success tips. This is a suitable C# novice reference basis FSO operation instance.
Platform: | Size: 13312 | Author: hpudn81 | Hits:

[File Operate1234

Description: 完成一个目录复制命令mycp,包括目录下的文件和子目录, 运行结果如下: beta@bugs.com [~/]# ls -l sem total 56 drwxr-xr-x3 beta beta 4096 Dec 19 02:53 ./ drwxr-xr-x8 beta beta 4096 Nov 27 08:49 ../ -rw-r r 1 beta beta128 Nov 27 09:31 Makefile -rwxr-xr-x1 beta beta 5705 Nov 27 08:50 consumer* -rw-r r 1 beta beta349 Nov 27 09:30 consumer.c drwxr-xr-x2 beta beta 4096 Dec 19 02:53 subdir/ beta@bugs.com [~/]# mycp sem target beta@bugs.com [~/]# ls -l target total 56 drwxr-xr-x3 beta beta 4096 Dec 19 02:53 ./ drwxr-xr-x8 beta beta 4096 Nov 27 08:49 ../ -rw-r r 1 beta beta128 Nov 27 09:31 Makefile -rwxr-xr-x1 beta beta 5705 Nov 27 08:50 consumer* -rw-r r 1 beta beta349 Nov 27 09:30 consumer.c drwxr-xr-x2 beta beta 4096 Dec 19 02:53 subdir/ 说明: Linuk: mkdir,opendir,readdir,symlink,readlink等系统调用 Windows:CreateDirectory,FindFirstFile,FindNextFile等函数-Complete a directory replication command mycp, including files and subdirectories, operating results are as follows: beta@bugs.com [~ /]# ls-l sem total 56 drwxr-xr-x3 beta beta 4096 Dec 19 02:53 ./ drwxr-xr-x8 beta beta 4096 Nov 27 08:49 ../-rw-r- r- 1 beta beta128 Nov 27 09:31 Makefile-rwxr-xr-x1 beta beta 5705 Nov 27 08:50 consumer*-rw-r- r- 1 beta beta349 Nov 27 09:30 consumer.c drwxr-xr-x2 beta beta 4096 Dec 19 02:53 subdir/beta@bugs.com [~ /]# mycp sem target beta @ bugs.com [~ /]# ls-l target total 56 drwxr-xr-x3 beta beta 4096 Dec 19 02:53 ./ drwxr-xr-x8 beta beta 4096 Nov 27 08:49 ../-rw-r r- 1 beta beta128 Nov 27 09:31 Makefile-rwxr-xr-x1 beta beta 5705 Nov 27 08:50 consumer*-rw-r- r- 1 beta beta349 Nov 27 09:30 consumer.c drwxr-xr-x2 beta beta 4096 Dec 19 02:53 subdir/Description: Linuk: mkdir, opendir, readdir, symlink, readlink system calls Windows: CreateDirectory, FindFirstFile, FindNextFile and other functions
Platform: | Size: 5120 | Author: 于冰 | Hits:

[Windows DevelopWordOperateClass

Description: C#word(2007)操作类 新建文档、添加页眉页脚、设置格式、添加文本和超链接、添加图片、表格处理、文档格式转化-public static bool CreateWordFile(string dir, string fileName) { try { Object oMissing = System.Reflection.Missing.Value if (!Directory.Exists(dir)) { //创建文件所在目录 Directory.CreateDirectory(dir) } //创建Word文档(Microsoft.Office.Interop.Word) Microsoft.Office.Interop.Word._Application WordApp = new Application() WordApp.Visible = true Microsoft.Office.Interop.Word._Document WordDoc = WordApp.Documents.Add( ref oMissing, ref oMissing, ref oMissing, ref oMissing) //保存 object filename = dir+ fileName WordDoc.SaveAs(ref filename, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing) WordDoc.Close(ref oMissing, ref oMissing, ref oMissing) Wor
Platform: | Size: 9216 | Author: 元宝 | Hits:

[Windows KernelDiscUtils读写iso以及虚拟磁盘文件类库源码

Description: 源码包含一个读取ISO文件和虚拟磁盘文件(VHD, VDI, XVA, VMDK, etc)的类和完整的调用示例。 对于ISO、UDF、FAT和NTFS的支持已经非常完善。支持VHD, XVA, VMDK 和VDI格式的读写与注册。 类库中还包含一个简单的iSCSI启动器,可以通过iSCSI和一个NFS客户端实现对磁盘的访问。 这里有几段简单的示例代码,可以看出来使用还是非常方便的: 新建一个ISO文件: CDBuilder builder = new CDBuilder(); builder.UseJoliet = true; builder.VolumeIdentifier = "A_SAMPLE_DISK"; builder.AddFile(@"Folder\Hello.txt", Encoding.ASCII.GetBytes("Hello World!")); builder.Build(@"C:\temp\sample.iso"); 你可以通过流或者文件的方式来进行ISO的操作。 从ISO文件中提取一个文件: using (FileStream isoStream = File.Open(@"C:\temp\sample.iso")) { CDReader cd = new CDReader(isoStream, true); Stream fileStream = cd.OpenFile(@"Folder\Hello.txt", FileMode.Open); // Use fileStream... } 同样,你也可以浏览ISO内部包含的目录或者作为启动盘。 新建一个虚拟磁盘: long diskSize = 30 * 1024 * 1024; //30MB using (Stream vhdStream = File.Create(@"C:\TEMP\mydisk.vhd")) { Disk disk = Disk.InitializeDynamic(vhdStream, diskSize); BiosPartitionTable.Initialize(disk, WellKnownPartitionType.WindowsFat); using (FatFileSystem fs = FatFileSystem.FormatPartition(disk, 0, null)) { fs.CreateDirectory(@"TestDir\CHILD"); // do other things with the file system... } } 新建一个虚拟软盘: using (FileStream fs = File.Create(@"myfloppy.vfd")) { using (FatFileSystem floppy = FatFileSystem.FormatFloppy(fs, FloppyDiskType.HighDensity, "MY FLOPPY ")) { using (Stream s = floppy.OpenFile("foo.txt", FileMode.Create)) { // Use stream... } } } 也可以作为启动软盘使用。
Platform: | Size: 438282 | Author: twklzw | Hits:

CodeBus www.codebus.net