====== Snippets ====== ===== DOS/CMD ===== * [[pdf2jpg]] with ghostscript * [[getlastpagenumber.cmd]] * [[loeotpev.cmd]] * [[create_banner.cmd]] * [[klassische suche]] * [[copymorefiles.cmd]] * [[files2lower.cmd]] * [[snmp]] * [[smtp]] * [[function.cmd]] * [[zip-to-7z.cmd]] * [[filezilla]] * [[backup_with_wget]] * [[truecrypt]] * [[set_ip_address]] * [[weekday]] * [[function_datetime.cmd]] * [[default_printer]] * [[herunterfahren.cmd]] * [[firewall.cmd]] * [[registry-switcher.cmd]] ==== PuTTY Tools ==== * [[plink_tunnel]] * [[PuttyTaps]] ==== More Infos for DOS ==== * http://www.dostips.com * http://ss64.com/nt ==== AutoHotkey ==== * [[autohotkey]] ====== HTTP/CSS/Javascript ====== * [[embedding_sound]] * [[simple_css_layout]] * [[simple_webcam_viewer]] * [[directional_pad]] ====== Windows ====== * [[godmode]] @%windir%\explorer.exe /n, /e, "%appdata%\Microsoft\Internet Explorer\Quick Launch\" @md "%appdata%\Microsoft\Internet Explorer\Quick Launch\new_DIRECTORY" @echo off FOR /F " usebackq tokens=2,* delims=x" %%A IN (`REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\IDConfigDB /v CurrentConfig`) DO set profilenumber=%%A echo active profile number is: %profilenumber% pause ===== globale Einstellungen Proxy ===== HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings Deleting the WinHttpSettings value removes all proxy configurations. Netsh Commands for Windows Hypertext Transfer Protocol (WINHTTP) http://technet.microsoft.com/en-us/library/cc731131%28WS.10%29.aspx http://msdn.microsoft.com/en-us/library/aa384069%28v=vs.85%29.aspx ProxyCfg.exe has been deprecated. It is replaced by the Netsh.exe winhttp commands. (only newer than XP) C:\> C:\WINDOWS\system32\dllcache\proxycfg.exe /? Microsoft (R) WinHTTP-Standard-Proxykonfigurationstool Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten. Syntax: proxycfg -? : Hilfeinformationen anzeigen proxycfg : Aktuelle WinHTTP-Proxyeinstellungen anzeigen proxycfg [-d] [-p []] -d : Direkten Zugriff einstellen -p : Proxyserver und optionale Umgehungsliste festlegen proxycfg -u : Proxyeinstellungen von aktuellen manuellen Einstellungen des Benutzers in Microsoft Internet Explorer (in HKCU) importieren ====== Windows 7 ====== * [[firstrun]] ====== Excel ====== * [[formatiere_Schrift]] * [[Zeilenmarkierung]] ===== Explorer aus der Komandozeile starten ===== %windir%\explorer.exe /n, /e, . Dieser Befehl startet den Explorer aus dem aktuellen Verzeichnis. Mann kann auch eine Verknüpfung anlegen um den Explorer direkt zu starten. Wenn mann anstatt den . den Pfad eingibt öffnet der Explorer in diesem Verzeichnis z.B. "%windir%\explorer.exe /n, /e,C:\Temp" öffnet den Explorer im Verzeichnis C:\Temp Ich empfehle auch ein Batchfile wie folgt anzulegen:\\ ''Start - Ausführen oder [Windows]+[R] (Adminrechte notwendig!)''\\ man kann dann aus jedem verzeichnis mit dem Komando: ''ex'' den Explorer im aktuellen verzeichnis starten. cmd.exe /C echo @%windir%\explorer.exe /n, /e, . >%windir%\ex.cmd && pause ===== Uptime ===== Download [[http://download.microsoft.com/download/winntsrv40/install/uptime_1.01/nt4/en-us/uptime.exe|uptime.exe]] von http://support.microsoft.com/kb/232243 \\ nach %windir% copy uptime.exe %windir%\. erstelle up.cmd in %windir% cmd.exe /c echo uptime.exe /p:7 ^^^| findstr /i "Boot Shutdown" ^^^&^^^& pause ^> %windir%\up.cmd mit '' ** up ** '' werden die Boot- und Shutdown-Zeiten der letzten 7 Tage angezeigt. ===== new in Windows 7 ===== All Users Autostart / Autorun / Starup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup All Users Desktop C:\Users\Public\Desktop %APPDATA%: C:\Users\USERNAME\AppData\Roaming User specific Enviroments HOMEPATH=\Users\USERNAME LOCALAPPDATA=C:\Users\USERNAME\AppData\Local TEMP=C:\Users\USERNAME\AppData\Local\Temp TMP=C:\Users\USERNAME\AppData\Local\Temp USERNAME=USERNAME USERPROFILE=C:\Users\USERNAME ====== Linux ====== * [[upgrade_debian_etch_to_lenny]] * [[backup_with_wget]] * [[sudo]] * [[hex2dec]] * [[randomfile]] * [[xampp]] * [[sendEmail]] Äquivalent zu ''dir /b'' in Linux: ''find `pwd` -printf "%h/%f\n"'' * [[gksu]] * [[osCommerce]] * [[password_reset]] ====== Firefox ====== * [[HTTP_USER_AGENT]] * http://mycroft.mozdev.org/google-search-plugins.html @%windir%\explorer.exe /n, /e, "%appdata%\Mozilla\Firefox\Profiles\" ====== SNMP ====== * [[snmptrap]] ====== all available Downloads ====== {{filelist>:snippets:*&style=table&tableheader=1&tableshowdate=1&tableshowsize=1}}