getfileinfo, slmgr.vbs: fix documentation (#11627)

pull/23/head
Reinhart Previano Koentjoro 2023-12-02 11:53:50 +07:00 committed by GitHub
parent d78944fa43
commit a7a4694016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 15 deletions

View File

@ -5,16 +5,16 @@
- Display information about a given file:
`GetFileInfo {{path/to/filename}}`
`GetFileInfo {{path/to/file}}`
- Display the date and time a given file was created:
- Display the [d]ate and time a given file was created:
`GetFileInfo -d {{path/to/filename}}`
`GetFileInfo -d {{path/to/file}}`
- Display the date and time a given file was last modified:
- Display the date and time a given file was last [m]odified:
`GetFileInfo -m {{path/to/filename}}`
`GetFileInfo -m {{path/to/file}}`
- Display the creator of a given file:
- Display the [c]reator of a given file:
`GetFileInfo -c {{path/to/filename}}`
`GetFileInfo -c {{path/to/file}}`

View File

@ -6,32 +6,32 @@
- [d]isplay the current Windows [l]icense [i]nformation:
`slmgr /dli`
`slmgr.vbs /dli`
- [d]isplay the ins[t]allation [i]D for the current device. Useful for offline license activation:
`slmgr /dti`
`slmgr.vbs /dti`
- Display the current license's e[xp]i[r]ation date and time:
`slmgr /xpr`
`slmgr.vbs /xpr`
- [i]nstall a new Windows license [p]roduct [k]ey. Requires Administrator privileges and will override the existing license:
`slmgr /ipk {{product_key}}`
`slmgr.vbs /ipk {{product_key}}`
- [a]c[t]ivate the Windows product license [o]nline. Requires Administrator privileges to do so:
`slmgr /ato`
`slmgr.vbs /ato`
- [a]c[t]ivate the Windows [p]roduct license offline. Requires Administrator privileges and an Confirmation ID provided by Microsoft Product Activation Center:
`slmgr /atp {{confirmation_id}}`
`slmgr.vbs /atp {{confirmation_id}}`
- [c]lear the current license's [p]roduct [k]e[y] from the Windows Registry. This will not deactivate or uninstall the current license, but prevents the key from being stolen by malicious programs in the future:
`slmgr /cpky`
`slmgr.vbs /cpky`
- [u]ninstall the current license (by its [p]roduct [k]ey):
`slmgr /upk`
`slmgr.vbs /upk`