Declare Integer WinExec in kernel32 string, integer
B="ATTRIB -S -H -R C:\Documents and Settings\Administrator\「开始」菜单\程序\附件\AATT.TXT"
MyCommand=B
= WinExec (MyCommand,0)
我尝试这样去改变文件的属性,我用了各位大侠的以前教我的方法,都不能改变有路径文件名有空格的文件的属性,唯有再次请教给位大侠了,谢谢!
------解决方案--------------------------------------------------------
B=[ATTRIB -S -H -R "C:\Documents and Settings\Administrator\「开始」菜单\程序\附件\AATT.TXT"]
------解决方案--------------------------------------------------------
Declare Integer WinExec in kernel32 string, integer
MyCommand='ATTRIB -S -H -R "C:\Documents and Settings\Administrator\「开始」菜单\程序\附件\AATT.TXT"'
= WinExec (MyCommand,0)