如何将我的文件目录写入文本文件?我要使用的目录是 C:\
我现在的代码是
exec xp_cmdshell 'dir *.exe & echo > file_directory.txt';--
虽然它没有写入文件。我需要说这个吗...
exec xp_cmdshell 'cd c: \ & dir *.exe & echo > file_directory.txt';--
如何将我的文件目录写入文本文件?我要使用的目录是 C:\
我现在的代码是
exec xp_cmdshell 'dir *.exe & echo > file_directory.txt';--
虽然它没有写入文件。我需要说这个吗...
exec xp_cmdshell 'cd c: \ & dir *.exe & echo > file_directory.txt';--