听讲C#可以直接编绎成非托管代码==》最起码现在还不行!你听错了吧。 这个问题随便写个批处理就解决了,如: Rem Bakup.bat @echo off copy file1 SomePath\file1 copy file2 SomePath\file2 copy file3 SomePath\file3
del file1 del file2 del file3 @echo on 将 file1,file2,file3换成你要转移的文件名,SomePath换成你要拷贝到路径名。然后将Bakup.bat放在file1等目录下,并在windows98的计划任务中设置好定时运行Bakup.bat。 恢复时类似处理。
这个问题随便写个批处理就解决了,如: Rem Bakup.bat
@echo off
copy file1 SomePath\file1
copy file2 SomePath\file2
copy file3 SomePath\file3
del file1
del file2
del file3
@echo on
将 file1,file2,file3换成你要转移的文件名,SomePath换成你要拷贝到路径名。然后将Bakup.bat放在file1等目录下,并在windows98的计划任务中设置好定时运行Bakup.bat。
恢复时类似处理。
但是可以肯定,C#不能编译成象你想像的那种脱离.Net Framework运行的程序。
用Delphi、Vb、VC,什么都行,写个小程序就行了。很简单。