1
我想了解/了解每个这些代码引用是否相等。有人可以指出我是一个阅读这篇文章的好地方吗?我假设它的Windows PowerShell代码..但我只是猜测。Windows批处理代码引用
例如什么呢 - %%一个represet
@echo off
rem For each file in your folder
for %%a in (".\*") do (
rem check if the file has an extension and if it is not our script
if "%%~xa" NEQ "" if "%%~dpxa" NEQ "%~dpx0" (
rem check if extension forlder exists, if not it is created
if not exist "%%~xa" mkdir "%%~xa"
rem Copy (or change to move) the file to directory
copy "%%a" "%%~dpa%%~xa\"
)
)
http://ss64.com/nt/syntax-args.html或者你可以键入'for /?' –
在这里看到我的答案http://stackoverflow.com/questions/40371443/what-do-all- CMD备忘单中的命令批处理中的意思。在你的问题中没有powershell。 – 2016-12-01 17:20:02
非常感谢你 – Jay