Tag: Windows
次のような内容のファイルをwhich.batなどとしてパスの通ったフォルダに保存する。
@echo off for %%I in (%1 %1.com %1.exe %1.bat %1.cmd %1.vbs %1.js %1.wsf) do if exist %%~$path:I echo %%~$path:I
コマンドラインではないけどEverythingが同様のことができます。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32"
version="1.0.0.0"
name="patch.exe"
processorArchitecture="x86"
/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
list disk
select disk <ディスク番号>
list partition
select partition <パーティション番号>
delete partition
delete partition override