https://github.com/hymkor/jatchfiles
Windows maintenance Scripts (JScript in batchfiles)
https://github.com/hymkor/jatchfiles
Last synced: 24 days ago
JSON representation
Windows maintenance Scripts (JScript in batchfiles)
- Host: GitHub
- URL: https://github.com/hymkor/jatchfiles
- Owner: hymkor
- Created: 2015-07-22T06:54:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T02:41:05.000Z (almost 10 years ago)
- Last Synced: 2025-02-10T15:50:59.717Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Jatchfiles
===========Windows maintenance Scripts (JScript in batchfiles)
Contents
--------- ln.cmd - mklink wrapper.
- sendto.cmd - SendTo maintenance tool.
- startup.cmd - StartUp maintenance tool.
- please.cmd - Execute as Administrator.
- chpath.js - Edit Root-%PATH% with notepad.exe.
- trash.js - Move files to Windows' trashbox.
- lnk.js - make shortcut
- specialfolders.js - print where is the specialfolder.ln.cmd
-------mklink wrapper
```
ln [-s] SOURCE DESTINATION
```- Without **-s**:
- SOURCE is a FILE : make hardlink.
- SOURCE is a DIRECTORY : make junction.
- With **-s**
- make symbolic-link (UAC)sendto.cmd
----------```
sendto [FILEPATH]
```- With FILEPATH:
- Put the shortcut to FILEPATH on SendTo folder.
- Without FILEPATH:
- Open the Sendto folder with explorer.startup.cmd
-----------```
startup [FILEPATH]
```This batch requires `sendto.cmd`.
- With FILEPATH:
- Put the shortcut to FILEPATH on StartUp folder.
- Without FILEPATH:
- Open the StartUp folder with explorer.chpath.js
---------Edit Root-%PATH% with notepad.exe
```
cscript chpath.js
```trash.js
---------Move files to Windows' trashbox.
```
cscript trashbox.js FILE(S)
```please.cmd
----------Execute as Administrator.
```
please COMMAND ARG(s)...
```lnk.js
-------Make shortcut.
```
cscript lnk.js SOURCE DESTINATION
```specialfolders.js
-----------------Print where is the specialfolder.
```
$ cscript specialfolders.js sendto
C:\Users\...\AppData\Roaming\Microsoft\Windows\SendTo
$ cscript specialfolders.js startup
C:\Users\...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
```