⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 movedb.vbs

📁 Vc.Net入门与提高源码
💻 VBS
字号:

	Dim file1, file2, file3, f2
	Set file1 = CreateObject("Scripting.FileSystemObject")
	Set file2 = CreateObject("Scripting.FileSystemObject")
	Set file3 = CreateObject("Scripting.FileSystemObject")
	
	if file3.FolderExists("c:\\inetpub\\wwwroot\\bids") THEN
		Set f2 = file1.GetFile("c:\\inetpub\\wwwroot\\bids\\bidinfo.mdb")	
	end if
	
	if file3.FolderExists("d:\\inetpub\\wwwroot\\bids") THEN
		Set f2 = file1.GetFile("d:\\inetpub\\wwwroot\\bids\\bidinfo.mdb")
	end if
	
	if file3.FolderExists("e:\\inetpub\\wwwroot\\bids") THEN
		Set f2 = file1.GetFile("e:\\inetpub\\wwwroot\\bids\\bidinfo.mdb")
	end if
	
	
		
	if NOT file3.FolderExists("c:\\inetpub") THEN
		file2.CreateFolder("c:\\inetpub")
	end if
	
	if NOT file3.FolderExists("c:\\inetpub\\vcbids") THEN
		file2.CreateFolder("c:\\inetpub\\vcbids")
	end if
	
	if NOT file3.FolderExists("c:\\inetpub\\vcbids\\data") THEN
		file2.CreateFolder("c:\\inetpub\vcbids\\data")
	end if
		
	f2.Move("c:\\inetpub\\vcbids\\data\\BidInfo.mdb")
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -