Awesome Shortcuts

Costas

Administrator
Staff member
Many times for develop operations, you find yourself around 10 batch files for each project and is so hard to manage, navigate back and forward searching etc.. This application comes to end the mess.. You can use the application for any purpose as any filetype supported.

For best use, add a shortcut to quick launch then with a click, you will have all the commands available.

awesomeshortcuts.png


Platform : C# 2012
Operating System : Windows
windows1.gif
2000 /
windows1.gif
XP /
windows1.gif
2003 /
windows1.gif
Vista /
windows1.gif
win7 (64bit)
Requirements : v4.5.2 .NET framework
Filesize : 52kb

v1.2
+when item clicked with CTRL, point file to explorer

v1.1
*optimization

Download



alternative https://github.com/Hofknecht/SystemTrayMenu


when you have multiple projects in a solution, use this batch to batch delete the bin/obj folders.

batch operations
JavaScript:
//src https://stackoverflow.com/a/24860518 + https://stackoverflow.com/a/30110007

#CLEAN
@echo off
 
for %%x in (%*) do ( REM for each parameter
 
    for /f "delims=" %%D in ('dir /a:d /b /d %%x\source') do (
 
        if exist %%x\source\%%D (
            if exist %%x\source\%%D\bin (
                rmdir /s /q "%%x\source\%%D\bin\"
                echo [deleted] %%x\source\%%D\bin\
            )
           
            if exist %%x\source\%%D\obj (
                rmdir /s /q "%%x\source\%%D\obj\"
                echo [deleted] %%x\source\%%D\obj\
            )
        )
    )
)
 
pause


#NPM BUILD
@echo off
 
for %%x in (%*) do ( REM for each parameter
 
    for /f "delims=" %%D in ('dir /a:d /b /d %%x\source') do (
 
        if exist %%x\source\%%D (
            if exist %%x\source\%%D\gulpfile.js (
               
                echo.
                echo -------------------------------[starting]
                echo.
                echo %%x\source\%%D\gulpfile.js
                echo.
                echo.
               
                cd /d %%x\source\%%D
               
                call npm install
 
                REM Special operation for a specific PRJ ONLY
                if '%%D' == 'PipisCrewDynomite' (
                    call gulp xxx1
                    call gulp xxx2
                ) else (
                    call gulp yyy1
 
                    call gulp yyy2
                )
            )
        )
    )
)
 
pause
 
Top