|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ключи запуска программ, вспомогательные утилиты (Windows Resource Kit, Support Tools)02.10.2012, 01:52. Показов 198093. Ответов 58
1) Вспомогательные консольные утилиты:
Windows Resourse Kit + Support Tools тема GNUWin32 SourceForge nirCMD Полный перечень команд Прочие http://www.mycmd.com/ (freeware + shareware) 2) Ключи запуска программ Практически каждая программа принимает в параметрах "объект запуска" и ключи, например:
Правила этой темы
Их пока нет Выкладываем ключи, которые считаете нужными.Основную часть материала возьмем по-дружески у Rob van der Woude. Все предложения прошу в тему: Предложения по совершенствованию раздела и закреплению в "ВАЖНЫЕ" новых тем Список программ, к которым выложены ключи запуска: Метки: • - консольная • - имеет графический интерфейс
Планируемые к рассмотрению утилиты: ImageCFG - задание распределения нагрузки на процессоры в многопроцессорной системе (патчер PE-EXE). Cabinet Archieve. nconvert из пакета XnView Утилиты из GNUWin32 Hidec Утилиты из состава Windows Resourse Kit и Support Tools http://www.runtime.org/driveimage_faq.htm
10
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 02.10.2012, 01:52 | |
|
Ответы с готовыми решениями:
58
Windows Resource Kit
ATI Tray Tools 1.2.6.955 - новая версия утилиты для разгона видеокарт семейства Radeon |
|
|
||||||
| 01.10.2013, 01:03 [ТС] | ||||||
|
rhash - вычисления хэш сумм файлов
Автор: Aleksey Kravchenko Лицензия: Open Source (C-code) Ссылка: http://rhash.anz.ru/ CRC32, MD4, MD5, SHA1, SHA256, SHA512, Tiger, DC++ TTH, BitTorrent BTIH, ED2K, AICH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R 256/512, Whirlpool и Snefru-128/256 Особенности:
Примеры использования
Creating and checking hash files Compute the MD5 sum and store it in a file: Bash $ rhash -M file.txt > file.md5 Verify the file(s) by hash-sum Bash $ rhash -c file.md5 Generate an SFV file with CRC32 hash sum for *.avi files in current dirrectory Bash $ rhash -C *.avi > video.sfv Hashing files in a directory tree Generate a SHA1 hash file for all files in a directory tree: Bash $ rhash -rH directory/ > directory.sha1 Compute an MD5 hash file for all *.avi and *.mpg files in a directory tree: Bash $ rhash -rM --accept=.avi,.mpg directory/ > directory-video.md5 Verify all *.md5 and *.sha1 files in a directory tree: Bash $ rhash -cr --crc-accept=md5,sha256 directory/ Generating magnet links By default --magnet or -m option generates magnet link with Direct Connect TTH and EDonkey 2000 hash sums Bash $ rhash -m rhash-1.2.0-src.tar.gz magnet:?xl=337151&dn=rhash-1.2.0-src.tar.gz&xt=urn:tree:tiger 5ifanxqhim wjryw2fub5wdwo2mzstzrjsgmeha&xt=urn:ed2k :8cdcd96b67a148a4f064d1ec61b9a84c&xt=urn :aich:qh6n25sssujuny2xfbhhyhhj3hzyzulkA magnet link for BitTorrent P2P network with BTIH (BitTorrent Info Hash) can be calculated by command Bash $ rhash --magnet --btih rhash-1.2.0-src.tar.gz magnet:?xl=337151&dn=rhash-1.2.0-src.tar.gz&xt=urn:btih:fblgb25ibqtlv77fg penhmo4q6pkcofu Create a file containing magnet link with all supported hash sums: Bash $ rhash -ma rhash-1.2.0-src.tar.gz > rhash-1.2.0.magnet Verify file consistency by its magnet link: Bash $ rhash -c rhash-1.2.0.magnet Создание csv файла Автор плагина для Total Commander: Tol!k, правлено мной
3
|
||||||
|
|
||||||||||||||||||||||||||
| 13.10.2013, 19:12 [ТС] | ||||||||||||||||||||||||||
|
WGET
Назначение: скачивание файлов по протоколам HTTP(s), FTP Лицензия: GNU Руководство на англ: http://www.gnu.org/software/wget/manual/wget.html Ссылка: http://gnuwin32.sourceforge.net/packages/wget.htm + в посте архив без привязки к библиотекам. Утилита имеет к каждому ключу альтернативу, например: -N и --timestamping одно и тоже. Обратите внимание: на кол-во дефисов + ключи регистрозависимы. Самый простой способ скачать файл:
Еще часто используемые ключи. Прокси: Для каждого конкретного случая с протоколом задаются свои ключи. Для HTTP: wgetProxy=-e use_proxy=yes -e http_proxy=192.168.1.30 (адрес сервера) Для HTTPS: wgetProxy=-e use_proxy=yes -e https_proxy=192.168.1.30 (адрес сервера) Для FTP: wgetProxy=-e use_proxy=yes -e ftp_proxy=192.168.1.30 (адрес сервера) Для более удобной подстановки прокси из системы, и выбора режима (с обновлением или без) я написал пару функций. Здесь Wget запускается в новом потоке. Прокси - функции получения адреса из системы (Internet Explorer) и подстановки для WGET
Встроенная справка (ключи):
GNU Wget 1.11.4, a non-interactive network retriever. Usage: wget [OPTION]... [URL]... Mandatory arguments to long options are mandatory for short options too. Startup: -V, --version display the version of Wget and exit. -h, --help print this help. -b, --background go to background after startup. -e, --execute=COMMAND execute a `.wgetrc'-style command. Logging and input file: -o, --output-file=FILE log messages to FILE. -a, --append-output=FILE append messages to FILE. -d, --debug print lots of debugging information. -q, --quiet quiet (no output). -v, --verbose be verbose (this is the default). -nv, --no-verbose turn off verboseness, without being quiet. -i, --input-file=FILE download URLs found in FILE. -F, --force-html treat input file as HTML. -B, --base=URL prepends URL to relative links in -F -i file. Download: -t, --tries=NUMBER set number of retries to NUMBER (0 unlimits). --retry-connrefused retry even if connection is refused. -O, --output-document=FILE write documents to FILE. -nc, --no-clobber skip downloads that would download to existing files. -c, --continue resume getting a partially-downloaded file. --progress=TYPE select progress gauge type. -N, --timestamping don't re-retrieve files unless newer than local. -S, --server-response print server response. --spider don't download anything. -T, --timeout=SECONDS set all timeout values to SECONDS. --dns-timeout=SECS set the DNS lookup timeout to SECS. --connect-timeout=SECS set the connect timeout to SECS. --read-timeout=SECS set the read timeout to SECS. -w, --wait=SECONDS wait SECONDS between retrievals. --waitretry=SECONDS wait 1..SECONDS between retries of a retrieval. --random-wait wait from 0...2*WAIT secs between retrievals. --no-proxy explicitly turn off proxy. -Q, --quota=NUMBER set retrieval quota to NUMBER. --bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host. --limit-rate=RATE limit download rate to RATE. --no-dns-cache disable caching DNS lookups. --restrict-file-names=OS restrict chars in file names to ones OS allows. --ignore-case ignore case when matching files/directories. --user=USER set both ftp and http user to USER. --password=PASS set both ftp and http password to PASS. Directories: -nd, --no-directories don't create directories. -x, --force-directories force creation of directories. -nH, --no-host-directories don't create host directories. --protocol-directories use protocol name in directories. -P, --directory-prefix=PREFIX save files to PREFIX/... --cut-dirs=NUMBER ignore NUMBER remote directory components. HTTP options: --http-user=USER set http user to USER. --http-password=PASS set http password to PASS. --no-cache disallow server-cached data. -E, --html-extension save HTML documents with `.html' extension. --ignore-length ignore `Content-Length' header field. --header=STRING insert STRING among the headers. --max-redirect maximum redirections allowed per page. --proxy-user=USER set USER as proxy username. --proxy-password=PASS set PASS as proxy password. --referer=URL include `Referer: URL' header in HTTP request. --save-headers save the HTTP headers to file. -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION. --no-http-keep-alive disable HTTP keep-alive (persistent connections). --no-cookies don't use cookies. --load-cookies=FILE load cookies from FILE before session. --save-cookies=FILE save cookies to FILE after session. --keep-session-cookies load and save session (non-permanent) cookies. --post-data=STRING use the POST method; send STRING as the data. --post-file=FILE use the POST method; send contents of FILE. --content-disposition honor the Content-Disposition header when choosing local file names (EXPERIMENTAL). --auth-no-challenge Send Basic HTTP authentication information without first waiting for the server's challenge. HTTPS (SSL/TLS) options: --secure-protocol=PR choose secure protocol, one of auto, SSLv2, SSLv3, and TLSv1. --no-check-certificate don't validate the server's certificate. --certificate=FILE client certificate file. --certificate-type=TYPE client certificate type, PEM or DER. --private-key=FILE private key file. --private-key-type=TYPE private key type, PEM or DER. --ca-certificate=FILE file with the bundle of CA's. --ca-directory=DIR directory where hash list of CA's is stored. --random-file=FILE file with random data for seeding the SSL PRNG. --egd-file=FILE file naming the EGD socket with random data. FTP options: --ftp-user=USER set ftp user to USER. --ftp-password=PASS set ftp password to PASS. --no-remove-listing don't remove `.listing' files. --no-glob turn off FTP file name globbing. --no-passive-ftp disable the "passive" transfer mode. --retr-symlinks when recursing, get linked-to files (not dir). --preserve-permissions preserve remote file permissions. Recursive download: -r, --recursive specify recursive download. -l, --level=NUMBER maximum recursion depth (inf or 0 for infinite). --delete-after delete files locally after downloading them. -k, --convert-links make links in downloaded HTML point to local files. -K, --backup-converted before converting file X, back up as X.orig. -m, --mirror shortcut for -N -r -l inf --no-remove-listing. -p, --page-requisites get all images, etc. needed to display HTML page. --strict-comments turn on strict (SGML) handling of HTML comments. Recursive accept/reject: -A, --accept=LIST comma-separated list of accepted extensions. -R, --reject=LIST comma-separated list of rejected extensions. -D, --domains=LIST comma-separated list of accepted domains. --exclude-domains=LIST comma-separated list of rejected domains. --follow-ftp follow FTP links from HTML documents. --follow-tags=LIST comma-separated list of followed HTML tags. --ignore-tags=LIST comma-separated list of ignored HTML tags. -H, --span-hosts go to foreign hosts when recursive. -L, --relative follow relative links only. -I, --include-directories=LIST list of allowed directories. -X, --exclude-directories=LIST list of excluded directories. -np, --no-parent don't ascend to the parent directory. Mail bug reports and suggestions to <bug-wget@gnu.org>. Минусы утилиты: Не умеет скачивать файл в папку под конкретным именем - всегда берет в роле имени адрес за последним слешем URL. Давно не развивается, например, не поддерживает новые протоколы подключения по шифрованному соединению. Альтернативы - curl, bitsadmin
curl.exe Утилита активно развивается. Ссылка Описание на вики - здесь. Скачать один файл:
Встроенная справка (ключи):
Usage: curl [options...] <url> Options: (H) means HTTP/HTTPS only, (F) means FTP only --anyauth Pick "any" authentication method (H) -a, --append Append to target file when uploading (F/SFTP) --basic Use HTTP Basic Authentication (H) --cacert FILE CA certificate to verify peer against (SSL) --capath DIR CA directory to verify peer against (SSL) -E, --cert CERT[:PASSWD] Client certificate file and password (SSL) --cert-type TYPE Certificate file type (DER/PEM/ENG) (SSL) --ciphers LIST SSL ciphers to use (SSL) --compressed Request compressed response (using deflate or gzip) -K, --config FILE Specify which config file to read --connect-timeout SECONDS Maximum time allowed for connection -C, --continue-at OFFSET Resumed transfer offset -b, --cookie STRING/FILE String or file to read cookies from (H) -c, --cookie-jar FILE Write cookies to this file after operation (H) --create-dirs Create necessary local directory hierarchy --crlf Convert LF to CRLF in upload --crlfile FILE Get a CRL list in PEM format from the given file -d, --data DATA HTTP POST data (H) --data-ascii DATA HTTP POST ASCII data (H) --data-binary DATA HTTP POST binary data (H) --data-urlencode DATA HTTP POST data url encoded (H) --delegation STRING GSS-API delegation permission --digest Use HTTP Digest Authentication (H) --disable-eprt Inhibit using EPRT or LPRT (F) --disable-epsv Inhibit using EPSV (F) -D, --dump-header FILE Write the headers to this file --egd-file FILE EGD socket path for random data (SSL) --engine ENGINE Crypto engine (SSL). "--engine list" for list -f, --fail Fail silently (no output at all) on HTTP errors (H) -F, --form CONTENT Specify HTTP multipart POST data (H) --form-string STRING Specify HTTP multipart POST data (H) --ftp-account DATA Account data string (F) --ftp-alternative-to-user COMMAND String to replace "USER [name]" (F) --ftp-create-dirs Create the remote dirs if not present (F) --ftp-method [MULTICWD/NOCWD/SINGLECWD] Control CWD usage (F) --ftp-pasv Use PASV/EPSV instead of PORT (F) -P, --ftp-port ADR Use PORT with given address instead of PASV (F) --ftp-skip-pasv-ip Skip the IP address for PASV (F) --ftp-pret Send PRET before PASV (for drftpd) (F) --ftp-ssl-ccc Send CCC after authenticating (F) --ftp-ssl-ccc-mode ACTIVE/PASSIVE Set CCC mode (F) --ftp-ssl-control Require SSL/TLS for ftp login, clear for transfer (F) -G, --get Send the -d data with a HTTP GET (H) -g, --globoff Disable URL sequences and ranges using {} and [] -H, --header LINE Custom header to pass to server (H) -I, --head Show document info only -h, --help This help text --hostpubmd5 MD5 Hex encoded MD5 string of the host public key. (SSH) -0, --http1.0 Use HTTP 1.0 (H) --ignore-content-length Ignore the HTTP Content-Length header -i, --include Include protocol headers in the output (H/F) -k, --insecure Allow connections to SSL sites without certs (H) --interface INTERFACE Specify network interface/address to use -4, --ipv4 Resolve name to IPv4 address -6, --ipv6 Resolve name to IPv6 address -j, --junk-session-cookies Ignore session cookies read from file (H) --keepalive-time SECONDS Interval between keepalive probes --key KEY Private key file name (SSL/SSH) --key-type TYPE Private key file type (DER/PEM/ENG) (SSL) --krb LEVEL Enable Kerberos with specified security level (F) --libcurl FILE Dump libcurl equivalent code of this command line --limit-rate RATE Limit transfer speed to this rate -l, --list-only List only names of an FTP directory (F) --local-port RANGE Force use of these local port numbers -L, --location Follow redirects (H) --location-trusted like --location and send auth to other hosts (H) -M, --manual Display the full manual --mail-from FROM Mail from this address --mail-rcpt TO Mail to this receiver(s) --mail-auth AUTH Originator address of the original email --max-filesize BYTES Maximum file size to download (H/F) --max-redirs NUM Maximum number of redirects allowed (H) -m, --max-time SECONDS Maximum time allowed for the transfer --metalink Process given URLs as metalink XML file --negotiate Use HTTP Negotiate Authentication (H) -n, --netrc Must read .netrc for user name and password --netrc-optional Use either .netrc or URL; overrides -n --netrc-file FILE Set up the netrc filename to use -N, --no-buffer Disable buffering of the output stream --no-keepalive Disable keepalive use on the connection --no-sessionid Disable SSL session-ID reusing (SSL) --noproxy List of hosts which do not use proxy --ntlm Use HTTP NTLM authentication (H) -o, --output FILE Write output to <file> instead of stdout --pass PASS Pass phrase for the private key (SSL/SSH) --post301 Do not switch to GET after following a 301 redirect (H) --post302 Do not switch to GET after following a 302 redirect (H) --post303 Do not switch to GET after following a 303 redirect (H) -#, --progress-bar Display transfer progress as a progress bar --proto PROTOCOLS Enable/disable specified protocols --proto-redir PROTOCOLS Enable/disable specified protocols on redirect -x, --proxy [PROTOCOL://]HOST[:PORT] Use proxy on given port --proxy-anyauth Pick "any" proxy authentication method (H) --proxy-basic Use Basic authentication on the proxy (H) --proxy-digest Use Digest authentication on the proxy (H) --proxy-negotiate Use Negotiate authentication on the proxy (H) --proxy-ntlm Use NTLM authentication on the proxy (H) -U, --proxy-user USER[:PASSWORD] Proxy user and password --proxy1.0 HOST[:PORT] Use HTTP/1.0 proxy on given port -p, --proxytunnel Operate through a HTTP proxy tunnel (using CONNECT) --pubkey KEY Public key file name (SSH) -Q, --quote CMD Send command(s) to server before transfer (F/SFTP) --random-file FILE File for reading random data from (SSL) -r, --range RANGE Retrieve only the bytes within a range --raw Do HTTP "raw", without any transfer decoding (H) -e, --referer Referer URL (H) -J, --remote-header-name Use the header-provided filename (H) -O, --remote-name Write output to a file named as the remote file --remote-name-all Use the remote file name for all URLs -R, --remote-time Set the remote file's time on the local output -X, --request COMMAND Specify request command to use --resolve HOST:PORT:ADDRESS Force resolve of HOST:PORT to ADDRESS --retry NUM Retry request NUM times if transient problems occur --retry-delay SECONDS When retrying, wait this many seconds between each --retry-max-time SECONDS Retry only within this period --sasl-ir Enable initial response in SASL authentication -S, --show-error Show error. With -s, make curl show errors when they occur -s, --silent Silent mode. Don't output anything --socks4 HOST[:PORT] SOCKS4 proxy on given host + port --socks4a HOST[:PORT] SOCKS4a proxy on given host + port --socks5 HOST[:PORT] SOCKS5 proxy on given host + port --socks5-hostname HOST[:PORT] SOCKS5 proxy, pass host name to proxy -Y, --speed-limit RATE Stop transfers below speed-limit for 'speed-time' secs -y, --speed-time SECONDS Time for trig speed-limit abort. Defaults to 30 --ssl Try SSL/TLS (FTP, IMAP, POP3, SMTP) --ssl-reqd Require SSL/TLS (FTP, IMAP, POP3, SMTP) -2, --sslv2 Use SSLv2 (SSL) -3, --sslv3 Use SSLv3 (SSL) --ssl-allow-beast Allow security flaw to improve interop (SSL) --stderr FILE Where to redirect stderr. - means stdout --tcp-nodelay Use the TCP_NODELAY option -t, --telnet-option OPT=VAL Set telnet option --tftp-blksize VALUE Set TFTP BLKSIZE option (must be >512) -z, --time-cond TIME Transfer based on a time condition -1, --tlsv1 Use TLSv1 (SSL) --trace FILE Write a debug trace to the given file --trace-ascii FILE Like --trace but without the hex output --trace-time Add time stamps to trace/verbose output --tr-encoding Request compressed transfer encoding (H) -T, --upload-file FILE Transfer FILE to destination --url URL URL to work with -B, --use-ascii Use ASCII/text transfer -u, --user USER[:PASSWORD] Server user and password --tlsuser USER TLS username --tlspassword STRING TLS password --tlsauthtype STRING TLS authentication type (default SRP) -A, --user-agent STRING User-Agent to send to server (H) -v, --verbose Make the operation more talkative -V, --version Show version number and quit -w, --write-out FORMAT What to output after completion --xattr Store metadata in extended file attributes -q If used as the first parameter disables .curlrc Родные средства Windows Vista, 7, 8 (проверял только на Win7) Еще, если ссылка на файл прямая (без переадресаций) и размер небольшой (до 100 Кб) , в Win7 можно утилитой самой винды выкачать:
4
|
||||||||||||||||||||||||||
|
|
|
| 13.11.2013, 23:26 [ТС] | |
|
AIMP3 Command Line Switches
Кликните здесь для просмотра всего текста
/DEBUG -turns the program in debug mode, the functionality associated with the integration of players in the system is switched off.
[With this key you can run multiple copies of the program] [Input parameters are not used] /ADD_PLAY - Add objects to a playlist and start playing. [“object” is a playlist, folder or file] [Input parameters - the paths to objects] /BOOKMARK - Add files and / or folders to your bookmarks. [Input parameters - path to the files and / or folders] /DIR - Add folder(s) to the playlist.. [Whether playing of added the files starts, depends on the player settings] [Input parameters - path to folder] /FILE - Add file(s) to the playlist. [Whether playing of added the files starts, depends on the player settings] [Input parameters - path to file] /INSERT - Add objects to the playlist. [Whether playing of added the files starts, depends on the player settings] [“object” is a playlist, folder or file] [Input parameters - the path to objects] /RESTORE - Brint player to top [Input parameters are not used] /SKIN - Install skins to AIMP. After installation, opens the Preferences window on the choice of skin. [Input parameters - the path to cover] /PLS - Opens playlists in tabs. [Whether playing of playlist starts, depends on the player settings] [Input parameters - path to the playlist] /CDA - Creates a new playlist with a list of files from a specified media and starts it’s playback. [Input parameter - [!] only one - drive letter] /PLAY - Start playing [Input parameters are not used] /PAUSE - Pause playback [Input parameters are not used] /STOP - Stop playback [Input parameters are not used] /NEXT - Next file [Input parameters are not used] /PREV - Previous file [Input parameters are not used] /MUTE - ВMute / Unmute [Input parameters are not used] /VOLUP - increase volume [The step of increasing volume is set in settings - Settings \ Controls] [Input parameters are not used] /VOLDWN - reduced volume [The step of reducing volume is set in settings - Settings \ Controls] [Input parameters are not used] List of supported commands by AIMP Installer /AUTO="Destination Folder" - Automatic install to destination folder /PORTABLE - Installing portable version of AIMP, if its available [Used within /AUTO switch] /UPDATE - Force update mode, if update mode is not available installation will be aborted [Used within /AUTO switch] /SILENT - Do not show GUI of the Installer [Used within /AUTO switch]
2
|
|
|
|
||||||
| 18.11.2013, 00:14 [ТС] | ||||||
|
Tee
Параллельный вывод потока в консоль и в файл. Пример использования:
Встроенный хелп
Copy standard input to both standard output and a file. TEE [/A] file... file One or more files that will receive output. /A Append output to files.
2
|
||||||
|
189 / 146 / 32
Регистрация: 04.10.2013
Сообщений: 150
|
|
| 18.11.2013, 06:45 | |
|
2
|
|
|
1748 / 353 / 41
Регистрация: 15.10.2012
Сообщений: 550
|
|
| 23.11.2013, 17:13 | |
|
SFK (Swiss File Knife) Швейцарский файловый нож.
Представьте себе обычный швейцарский нож с кучей лезвий, пилок, ножниц, открывалок пр. предметов, иногда малопонятного назначения. В этом плане SFK ничем не отличается. Краткий обзор возможностей: - Текстовый/бинарный поиск/замена. Патчинг файлов. Сортировка текстовых файлов. Аналог команд tail, head, addtail, addhead. Конвертация LF/CRLF, конвертация символов TAB и т.д.; - Работа с файловой системой и файлами: mkdir, copy, delete, deltree, touch, filefind, join, split и т.д.; - Расширения для пакетных файлов; - Сетевые утилиты ftp, wget и т.д. До кучи возможность создать простой HTTP/FTP сервер. Все возможности и примеры надо смотреть в справке sfk.exe /? Всё это в одном исполняемом файле немного более одного мегабайта. Бесплатно (Но если возможностей будет не хватать, есть и платная расширенная версия).
3
|
|
|
1748 / 353 / 41
Регистрация: 15.10.2012
Сообщений: 550
|
|
| 23.11.2013, 17:13 | |
|
Ещё один мультикомбайн: BusyBox, порт под Win32
Множество nix команд в одном исполняемом файле размером ~600kb. Полный список команд: [, [[, ar, ash, awk, base64, basename, bash, bbconfig, bunzip2, bzcat, bzip2, cal, cat, catv, chmod, cksum, clear, cmp, comm, cp, cpio, cut, date, dc, dd, df, diff, dirname, dos2unix, du, echo, ed, egrep, env, expand, expr, false, fgrep, find, fold, getopt, grep, gunzip, gzip, hd, head, hexdump, kill, killall, ls, lzcat, lzma, lzop, lzopcat, man, md5sum, mkdir, mktemp, mv, od, pgrep, pidof, printenv, printf, ps, pwd, rm, rmdir, sed, seq, sh, sha1sum, sha256sum, sha3sum, sha512sum, sleep, sort, split, stat, strings, sum, tac, tail, tar, tee, test, touch, tr, true, uname, uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unxz, unzip, usleep, uudecode, uuencode, vi, wc, wget, which, whoami, xargs, xz, xzcat, yes, zcat Бинарник можно скачать с FTP
1
|
|
|
|
|||||||||||
| 28.12.2013, 21:40 [ТС] | |||||||||||
|
Affinity ver 1.0
Задание маски сходства процесса с процессорами в многоядерных системах. Автор: Dragokas. Другими словами: можно распределять нагрузку на конкретные процессоры для определенного процесса. (вручную это делается обычно через Диспетчер задач -> Процессы -> Правый клик -> Задать соответствие ...) Реализация в 2 вариантах C++: 1) с меню 2) с поддержкой аргументов командной строки. Синтаксис:
Affinity.exe [Process ID] [битовая маска - опционально] Примеры:
Примеры, как считать битвые суммы масок найдете в википедии или из примера запуском EXE без аргументов. Коды возврата ошибок
0 - Успех 1 - не смог получить/установить маску сходства (обычно, когда неверно задана маска или недопустима в данной ОС/аппаратной конф-ции). 5 - не смог открыть процесс и получить дескриптор (когда неверно задан Process ID или не хватает прав для доступа к процессу). Запускать с теми же правами, как и процесс, которому нужно задать новую маску сходства.
2
|
|||||||||||
|
|
||||||
| 02.01.2014, 03:57 [ТС] | ||||||
|
SETENV — утилита для изменения environment любому процессу
Автор: Andrey Budko Версия 0.2. Предистория. Однажды мне понадобилось в меню по F2 в одной из строчек многострочного пункта установить FARу переменную окружения, а в следующей - считать. Проблема в том, что FAR для каждой строчки меню вызывает отдельную копию командного интерпретатора и следовательно во второй строчке не доступно значение установленное в первой, исключая случаи когда переменная устанавливается слишком банально (SET aaa=bbb). В этом случае FAR перехватывает SET и самостоятельно меняет свой environment. У меня же было что-то вроде: for /F "usebackq" %i IN (`dir D:\maill\*.msg /b`) DO set mailbox=D:\mail\inbox.fld И в следующей строчке меню значение переменной %mailbox% оказывается недоступным. Пришлось написать утилиту, которая позволяет менять environment любому процессу в том числе FARу. Чем это отличается от плагина Константина Ступника FarEnv: 1. Один EXE файл вместо связки EXE+плагин. 2. Умеет менять environment не только FARу. 3. Меньше по размеру в 5 раз. 4. Доступны исходники. (ага, мне в отличии от некоторых - не жалко) 5. Не работает в Windows9x. (да-да, это один из плюсов) 6. Моя утилита, в отличии от известно чего, полностью юникодная, а это значит, что можно устанавливать FARу или любому другому процессу любой, в том числе юникодный, environment. На скриншотах ниже показано как это выглядит. Как это работает:
SETENV variable[=string] [/PID processid ...] [/IM imagename ...] [/P [depth]] [/V] [/U] [/W] Description: Displays, sets, or removes environment variables for any processes Parameters list: variable Specifies the environment-variable name. string Specifies a series of characters to assign to the variable. processid Specifies the process ID of the process. imagename Specifies the image name of the process. /P depth Specifies processing only chains of parental processes with optional limitation of depth. /V Specifies that verbose information be displayed in the output. /U Specifies that output to a pipe or file to be Unicode. /W Specifies to wait for pressing any key after execution. NOTE: Wildcards '*', '?' can be used to specify imagename and processid. Examples:
Где это брать: svn evil-programmers, plugring.farmanager.com
1
|
||||||
|
|
||||||||||||||||||||||||||
| 05.01.2014, 16:48 [ТС] | ||||||||||||||||||||||||||
|
FCIV - File Checksum Integrity Verifier utility
Автор: Microsoft Консольная утилита для подсчета хеш-сумм:
Синтаксис:
-add file | dir: Compute the hash and send it to an output device (default screen). The dir parameter has the following options: -r: Recursive. -type: Specify file type. For example, -type *.exe. -exc file: Do not compute these directories. -wp: Do not store the full path name. (By default, FCIV stores the full path name.) -bp: Remove the base path from the path name of each entry. -list: List entries in the database. -v: Verify hashes. The -v option has the following option: -bp: Remove the base path from the path name of each entry. -?, -h, or -help: Open extended help. Options -md5, -sha1, or -both: Specify hash type. (By default, MCIV uses -md5.) -xml db: Specify database format and name. Note When you use the -v option to verify a hash, FCIV also sends a return error code to indicate whether a hash is verified. A zero (0) indicates success, and a 1 indicates failure. With the return error code, you can use FCIV in automated scripts to verify hashes. Example usage To display the MD5 hash of a file, type the following command at a command prompt:
To compute a hash of a file, type a command line that is similar to any one of the following command lines:
Распакованная версия в аттаче.
0
|
||||||||||||||||||||||||||
|
|
||||||
| 09.06.2014, 18:11 [ТС] | ||||||
|
Создание настоящего консольного приложения на языке Visual Basic 6.
Пример от The trick. Для создания консольного приложения необходимо отредактировать файл проекта .VBP, добавив ключ линкеру:
4
|
||||||
|
|
||||||
| 09.06.2014, 20:56 [ТС] | ||||||
|
LimitRAM - ограничение максимального объема ОЗУ, используемой процессом.
Автор: Dragokas Использование:
Max RAM (в байтах) - задается опционально. Если не указан, утилита просто покажет, какие сейчас процесс имеет ограничения по ОЗУ. Ключ /HL (иначе - HardLimit) - также опциональный. Если указан, процесс не будет использовать памяти больше, чем Вы задали, иначе процессу может быть выделено больше памяти, если в системе достаточно свободной ОЗУ. Более подробно: GetProcessWorkingSetSizeEx и SetProcessWorkingSetSizeEx Все ошибки, выдаваемые утилитой, соответствуют System Error Codes. Состав: EXE + VB6 src. Совместимость: версия ОС Windows: любая, начиная от Vista и Server 2003, x32 и x64.
6
|
||||||
|
|
|
| 09.06.2014, 22:11 [ТС] | |
|
Concole Window Interceptor - перехват вывода чужого консольного окна
Автор: Dragokas Спасибо за помощь в создании: The trick. Сфера применения: Автоматически подключается к любому всплывающему консольному окну и не дает его закрыть по завершению работы (exit). Перехватывает текст и выводит его в окне формы. Будет полезен для получения текста консольных приложений, которые нельзя запустить через cmd /c. В планах: - получение текста, даже если экран периодически очищается (cls). - подключение к сразу множеству консольных окон. - альтернативная версия на основе хука, которая отслеживает консольные окна, создаваемые конкретным приложением таким образом, чтобы не нагружать ЦП постоянным циклическим опросом. Состав: EXE + VB6 src.
5
|
|
|
|
||||||
| 02.07.2014, 18:07 [ТС] | ||||||
|
AkelPad. Ключи запуска
AkelPad.exe [параметры] "file1.ext" [параметры] "file2.ext" [параметры] ... /x - не использовать режим совместимости с MS Notepad при обработке параметров командной строки. /p - напечатать следующий файл и закрыть его. /C+ - молча создавать новый файл, если он не существует. /C- - не создавать новый файл, если он не существует. /C - спрашивать о создании нового файла, если он не существует (по умолчанию). /B+ - молча открывать файл, если он бинарный. /B- - не открывать файл, если он бинарный. /B - спрашивать об открытии файла, если он бинарный (по умолчанию). /L+ - молча сохранить файл, даже если потеряются символы в указанной кодировке. /L- - не сохранять файл, если потеряются символы в указанной кодировке. /L - спрашивать о сохранении файла, если потеряются символы в указанной кодировке (по умолчанию). /Z - игнорировать следующий параметр командной строки. /reassoc - переустановить ранее назначенные ассоциации типов файлов. /deassoc - снять ранее назначенные ассоциации типов файлов. /quit - закончить обработку параметров командной строки и выйти из программы. /end - закончить обработку параметров командной строки. Методы
/Show(СтильГлавногоОкна) СтильГлавногоОкна 0 скрытое окно. 1 окно как есть (по умолчанию). 2 свернутое окно. 3 развернутое окно. 6 свернутое, не активное окно. 9 не развернутое окно. /Show(2) - метод отображает главное окно в свернутом режиме. /OpenFile("файл"[, Кодировка][, СигнатураBOM]) "файл" - Файл для открытия. Кодировка - Кодировка открытия. Если -1 либо не указана, она будет определена автоматически. СигнатураBOM - Сигнатура BOM файла. Если -1 либо не указана, она будет определена автоматически. /OpenFile("C:\File.txt", 65001, -1) - метод открывает файл в кодировке UTF-8. /SaveFile("файл"[, Кодировка][, СигнатураBOM]) "файл" - Сохранение текущего документа в указанный файл. Кодировка - Кодировка сохранения. Если -1 либо не указана, будет использована текущая кодировка. СигнатураBOM - Сигнатура BOM файла. 1 - присутствует, 0 - отсутствует, -1 либо не указана - используется текущий BOM. /SaveFile("C:\File.txt", 65001, 0) - метод сохраняет файл в кодировке UTF-8 без BOM. /Command(ВнутренняяКоманда[, Параметр]) /Command(4162) - метод вызывает внутреннюю команду под номером 4162. /Call("Плагин::Функция"[, дополнительные параметры]) /Call("Scripts::Main") - метод вызывает плагин Scripts и функцию Main. /Exec("командная строка"[, "рабочая директория"][, Ожидать]) "командная строка" - Командная строка. "рабочая директория" - Рабочая директория. По умолчанию "". Ожидать - Ожидать завершения программы. 1 - ожидать, 0 - не ожидать. /Exec("notepad.exe") - метод вызывает блокнот. /Exec(`notepad.exe`) - метод вызывает блокнот. /Exec('notepad.exe') - метод вызывает блокнот. /Exec('%windir%\notepad.exe') - метод вызывает блокнот. /Exec(`rundll32.exe shell32,ShellExec_RunDLL "%%f"`, "%%d") - метод передает активный файл для открытия по ассоциации Windows. /Font("Шрифт", Начертание, Размер) - "Шрифт" Имя шрифта, например, "Courier". Не изменяется, если "". Начертание (одно из следующих): 0 игнорировать. 1 обычный шрифт. 2 жирный шрифт. 3 курсивный шрифт. 4 жирный курсивный шрифт. Размер - Размер шрифта. Не изменяется, если 0. /Font("Courier", 4, 10) - метод устанавливает жирный курсив Courier шрифт размером 10 pt. /Recode(ПерекодироватьИз, ПерекодироватьВ) ПерекодироватьИз - Кодировка источник. Если -1, она будет определена автоматически. ПерекодироватьВ - Кодировка приемник. Если -1, она будет определена автоматически. /Recode(1251, 866) - метод перекодирует текст из кодировки 1251 в 866. /Insert("текст"[, Esc-последовательности]) "текст" - Вставляемый текст. Esc-последовательности: 0 - "текст" не содержит Esc-последовательностей (по умолчанию). 1 - "текст" содержит Esc-последовательности. Набор последовательностей аналогичен диалогу поиска/замены в программе, а также: "\s" - заменяется на выделенный в окне редактирования текст; "\|" - указывает на положение каретки после вставки текста. /Insert("Некая строка") - метод заменяет выделение на указанный текст. /Insert("<B>\s</B>", 1) - метод добавляет к выделению текст по краям. /Insert("\[0031 0032 0033]", 1) - метод заменяет выделение на "123". Переменные в методах: %%f - активный файл %%d - директория активного файла %%a - директория AkelPad'а %%%% - символ % %системная переменная% Пример для перекодировки текста из Unicode (UTF-16 LE) с BOM в Windows-1251
Спасибо sov44.
Подробнее: http://akelpad.cvs.sourceforge... us.htm#ch3
2
|
||||||
|
1781 / 763 / 130
Регистрация: 09.04.2011
Сообщений: 1,325
|
|
| 09.07.2014, 10:54 | |
|
Dragokas, прошу добавить к посту https://www.cyberforum.ru/post5177633.html описание ключей и коды возврата для curl
источник http://osxh.ru/terminal/command/curl Из-за ограничения количества символов - 20 000 (факт - 66962) - самому пропостить не удалось.
2
|
|
| 09.07.2014, 14:53 [ТС] | |
|
Не по теме: sov44, это новое дурацкое ограничение форума. Все, что от меня зависит я уже сделал. К сожалению, безуспешно, пока.
0
|
|
|
189 / 146 / 32
Регистрация: 04.10.2013
Сообщений: 150
|
||||||
| 12.07.2014, 03:53 | ||||||
|
VNC
Не давно было ТЗ установить удаленно VNC в 2-ух колцентрах: Кликните здесь для просмотра всего текста
1. Скачать установочный файл соответсвующей системе разрядности.
2. Установить UltraVNC. В процессе установки в компонентах выбрать только UltraVNC Server. В настройках установки выбрать пункты Register UltraVNC Server as a system service и Start or Restart UltraVNC Service. 3. После установки в Пуске в папке UltraVNC запустить программу настройки Edit Settings. На вкладке Security в графе VNC Password ввести пароль *** (стандартный). На вкладке Input/FileTransfer снять галочку Disable Viewers Inputs(убрать только просмотр, для возможности управления). На вкладке Scree Capture поставить галочки: Show Primary Display и Show Secondary Display(для показа нескольких моников). 4. Перезапустить службу uvnc_service. 5. Проверить подключение к компьютеру по IP. 6. В настройках системного трея найти значок VNC Server for Win32 и выбрать ему поведение "Показать значок и уведомления". вручную это делать оказалось очень нудно, хочу поделиться мануалом по автоматизации)) Кликните здесь для просмотра всего текста
1) Скачал 2 инсталленра (UltraVNC86_Setup.exe и UltraVNC64_Setup.exe)
2) запустил установку с командной строки: UltraVNC64_Setup.exe /saveinf=setup.inf получил файл иструкций для установщика "setup.inf" 3) настроил "UltraVNC Server" после чего скопировал себе, файл настроек "c:\Program Files\uvnc bvba\UltraVNC\ultravnc.ini" 4) написал батник "Insaller.bat":
В параметрах SFX: Setup=Insaller.bat TempMode Silent=2 Установка скрытая, во временную папку, после установки запустить "Insaller.bat" после, чего отдал старшим смен и сказал запускать на всех компах от имени администратора))) ЗЫ: нужно было установить его как службу(настрройка при установки setup.inf), и везде поставить одинаковый пароль, и прочие настройки (ultravnc.ini) Параметры (copy/past): Кликните здесь для просмотра всего текста
The Setup program accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the Setup program.
/HELP, /? Shows a summary of this information. Ignored if the UseSetupLdr [Setup] section directive was set to no. /SP- Disables the This will install... Do you wish to continue? prompt at the beginning of Setup. Of course, this will have no effect if the DisableStartupPrompt [Setup] section directive was set to yes. /SILENT, /VERYSILENT Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above). If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking. /SUPPRESSMSGBOXES Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' or '/VERYSILENT'. The default response in situations where there's a choice is: Yes in a 'Keep newer file?' situation. No in a 'File exists, confirm overwrite.' situation. Abort in Abort/Retry situations. Cancel in Retry/Cancel situations. Yes (=continue) in a DiskSpaceWarning/DirExists/DirDoesntExist/NoUninstallWarning/ExitSetupMessage/ConfirmUninstall situation. Yes (=restart) in a FinishedRestartMessage/UninstalledAndNeedsRestart situation. 5 message boxes are not suppressible: The About Setup message box. The Exit Setup? message box. The FileNotInDir2 message box displayed when Setup requires a new disk to be inserted and the disk was not found. Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters. Any message box displayed by [Code] support function MsgBox. /LOG Causes Setup to create a log file in the user's TEMP directory detailing file installation and [Run] actions taken during the installation process. This can be a helpful debugging aid. For example, if you suspect a file isn't being replaced when you believe it should be (or vice versa), the log file will tell you if the file was really skipped, and why. The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.) The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. Nor is it designed to be machine-parseable; the format of the file is subject to change without notice. /LOG="filename" Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, Setup will abort with an error message. /NOCANCEL Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'. /NORESTART Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart. Typically used along with /SILENT or /VERYSILENT. /RESTARTEXITCODE=exit code Specifies a custom exit code that Setup is to return when the system needs to be restarted following a successful installation. (By default, 0 is returned in this case.) Typically used along with /NORESTART. See also: Setup Exit Codes /CLOSEAPPLICATIONS Instructs Setup to close applications using files that need to be updated by Setup if possible. /NOCLOSEAPPLICATIONS Prevents Setup from closing applications using files that need to be updated by Setup. If /CLOSEAPPLICATIONS was also used, this command line parameter is ignored. /RESTARTAPPLICATIONS Instructs Setup to restart applications if possible. If Setup didn't close these applications (for example because /NOCLOSEAPPLICATIONS was used), this command line parameter is ignored. /NORESTARTAPPLICATIONS Prevents Setup from restarting applications. If /RESTARTAPPLICATIONS was also used, this command line parameter is ignored. /LOADINF="filename" Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared using the '/SAVEINF=' command as explained below. Don't forget to use quotes if the filename contains spaces. /SAVEINF="filename" Instructs Setup to save installation settings to the specified file. Don't forget to use quotes if the filename contains spaces. /LANG=language Specifies the language to use. language specifies the internal name of the language as specified in a [Languages] section entry. When a valid /LANG parameter is used, the Select Language dialog will be suppressed. /DIR="x:\dirname" Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified. May include an "expand:" prefix which instructs Setup to expand any constants in the name. For example: '/DIR=expand:{pf}\My Program'. /GROUP="folder name" Overrides the default folder name displayed on the Select Start Menu Folder wizard page. May include an "expand:" prefix, see '/DIR='. If the [Setup] section directive DisableProgramGroupPage was set to yes, this command line parameter is ignored. /NOICONS Instructs Setup to initially check the Don't create a Start Menu folder check box on the Select Start Menu Folder wizard page. /TYPE=type name Overrides the default setup type. If the specified type exists and isn't a custom type, then any /COMPONENTS parameter will be ignored. /COMPONENTS="comma separated list of component names" Overrides the default component settings. Using this command line parameter causes Setup to automatically select a custom type. If no custom type is defined, this parameter is ignored. Only the specified components will be selected; the rest will be deselected. If a component name is prefixed with a "*" character, any child components will be selected as well (except for those that include the dontinheritcheck flag). If a component name is prefixed with a "!" character, the component will be deselected. This parameter does not change the state of components that include the fixed flag. Example: Deselect all components, then select the "help" and "plugins" components: /COMPONENTS="help,plugins" Example: Deselect all components, then select a parent component and all of its children with the exception of one: /COMPONENTS="*parent,!parent\child" /TASKS="comma separated list of task names" Specifies a list of tasks that should be initially selected. Only the specified tasks will be selected; the rest will be deselected. Use the /MERGETASKS parameter instead if you want to keep the default set of tasks and only select/deselect some of them. If a task name is prefixed with a "*" character, any child tasks will be selected as well (except for those that include the dontinheritcheck flag). If a task name is prefixed with a "!" character, the task will be deselected. Example: Deselect all tasks, then select the "desktopicon" and "fileassoc" tasks: /TASKS="desktopicon,fileassoc" Example: Deselect all tasks, then select a parent task and all of its children with the exception of one: /TASKS="*parent,!parent\child" /MERGETASKS="comma separated list of task names" Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default. If UsePreviousTasks is set to yes, the specified tasks will be selected/deselected after any previous tasks are restored. Example: Keep the default set of selected tasks, but additionally select the "desktopicon" and "fileassoc" tasks: /MERGETASKS="desktopicon,fileassoc" Example: Keep the default set of selected tasks, but deselect the "desktopicon" task: /MERGETASKS="!desktopicon" /PASSWORD=password Specifies the password to use. If the [Setup] section directive Password was not set, this command line parameter is ignored. When an invalid password is specified, this command line parameter is also ignored.
1
|
||||||
|
1748 / 353 / 41
Регистрация: 15.10.2012
Сообщений: 550
|
|
| 13.07.2014, 00:17 | |
|
Специально для CyberForum - консольная утилита для переименования файлов с использованием регулярных выражений.
Обсуждение в этой теме. Предистория
С некоторых пор перестал меня устравать скрипт на VBS для переименования файлов. https://www.cyberforum.ru/post3932252.html
- Работает медлено. - Проблема с кодировками, особенно сохранение в UTF-8 (файлы отката) - Никогда нет уверенности, через cscript или wscript он выполнится (а запускать через них слишком длинно). - Объект Shell.Application.NameSpace, используемый для фильтрации файлов завязан на проводник и не всегда адекватно себя ведёт (то zip файлы папками считает, то вообще ничего не видит, то сортирует неизвестно как), а в последних версиях винды ситуация только ухудшилась. - На FAT и FAT32 (флешки) отсутствует сортировка - и т.д. Поэтому скрипт был переписан на PureBasic, при этом добавлены возможности другого скрипта для перенумерации файлов. Как ни странно, существенного увеличения скорости достичь не удалось (~2 раза, правда, это если не обрабатывать описания, с описаниями выигрыш скорость существенно выше). Регулярные выражения достаточно тяжёлые и забирают, похоже, основную массу времени. Краткое описание
Как и скрипт vrenn, программа изменяет только имена файлов, расширения не затрагиваются. Для папок считается, что у них расширений нет. Имена вида ".qwerty", т.е. начинающиеся с единственной точки, считаются состоящими из одного имени без расширения.
Назначение программы отражено её названии: XRENN = X - Регулярные выражения REN - RENAME / RENUMBER N - Names only Работа с регулярными выражениями построена на базе библиотеки PCRE, в версии входящей в состав библиотеки PureBasic и допиленой напильником . Не все возможности PCRE поддерживаются. Вместо PCRE можно задействовать ActiveX объект VBScript.RegExp, указав ключ /VBS или /VBSX. К сожалению, пока нет индикации ошибок VBScript.RegExp.Основные функции (кратко): * Переименование. XRENN [mask] pattern replace|\ [/] [/PF:text] [/SF:text] * Перенумерация. XRENN [[mask] pattern] /N[:start] [/A:width] [/STEP:step] [/I:index|/] * Выравнивание чисел. XRENN [[mask] pattern] /A:width [/I:index|/] * Копирование (/C) или перемещение (/M) XRENN [mask] pattern /C:folder|/M:folder * Удаление (/D) или удаление в корзину (/DR) XRENN [mask] pattern /D|/DR * Откат переименования XRENN /U:undofile * Откат последнего переименования для текущей папки XRENN /UL Общие ключи /mask - Альтернативный способ задать маску. Маска должна содержать хотя бы один символ * или ?. /L:filelist - файл, содержащий список обрабатываемых файлов. /Q - Не выводить результаты работы и сообщения на экран, пауза в конце не делается. /Q1 - Все результаты, ошибки и статистика выводится на экран. Пауза в конце не делается. /Q2 - Выводится только статистика. Пауза не делается. /VBS - Для работы с регулярными выражениями используется VBScript.RegExp /VBSX - Для работы с регулярными выражениями используется VBScript.RegExp, обратные ссылки задаются в виде \1, \2 и т.д. /CS - Case Sensitive - Учитывать регистр в регулярном выражении. /H - Обрабатывать скрытые и системные файлы. /Z- - Не обрабатывать описания. /Z+ - Обрабатывать описания. /U- - Не создавать файл отката. /U+ - Создавать файл отката. /UCD - Создавать скрытый файл отката в текущей папке. Кода возврата 0 - Нет ошибок 1 - Ошибка в параметрах. 2 - Ошибка в регулярном выражении. 3 - Ошибка открытия файла списка или файла отката. 4 - Ошибка изменения папки. 5 - Ошибка переименования. 6 - Ошибка обработки файла описаний. 7 - Ошибки отката. Синонимы ключей: /C - /COPY, /M - /MOVE, /DR - /RECYCLE, /D - /DELETE, /N - /RENUM, /A - /ALIGN, /I - /INDDEX, /U - /UNDO, /UL - /UNDOLAST, /U+ - /UNDO+, /U- - /UNDO-, /UCD - /UNDOCD, /SF - /SUFFIX, /PF - /PREFIX, /L - /LIST, /T - /TEST. В синонимах разделительные знаки ":" и "=" опускать нельзя. Программа развивается, добавляются новые возможности, правятся ошибки. Принимаются багрепорты и предложения по развитию. В планах:
- Обратная сортировка.
- Сортировка без учёта расширений. - Not Global - Преобразование регистра в заменяемой строке. Более подробное описание в прилагаемом файле.
3
|
|
|
быдлокодер
1724 / 911 / 106
Регистрация: 04.06.2008
Сообщений: 5,705
|
||||||
| 16.08.2014, 23:22 | ||||||
|
Программа для убирания/добавления консольного окна путем модификации PE EXE.
Обсуждение: здесь. Зачем может быть нужна. Бывают случаи, когда консоль и всё, что туда выводится, абсолютно лишнее, а программа должны работать. Скажем, вы должны запускать периодически музыку с помощью консольного проигрывателя, mpg123.exe, а он любит всякого понаписать в консоль. Чтобы этого не было, берёте мою прогу и так запускаете:
1
|
||||||
|
1781 / 763 / 130
Регистрация: 09.04.2011
Сообщений: 1,325
|
||
| 29.08.2014, 11:34 | ||
|
Управление Microsoft Security Essential из командной строки.
Чтобы просмотреть справку по команде, нужно ввести в командной строке MpCmdRun.exe -?/-h
Добавлено через 28 минут К сожалению более свежий русский мануал не найден.
2
|
||
| 29.08.2014, 11:34 | |
|
Помогаю со студенческими работами здесь
40
Ключи запуска программы!
Ключи запуска программы на яве Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
Новые блоги и статьи
|
|||
|
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 28.01.2026
Содержание блога
SDL3 имеет собственные средства для загрузки и отображения PNG-файлов с альфа-каналом и базовой работы с ними. В этой инструкции используется функция SDL_LoadPNG(), которая. . .
|
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL3_image
8Observer8 27.01.2026
Содержание блога
SDL3_image - это библиотека для загрузки и работы с изображениями. Эта пошаговая инструкция покажет, как загрузить и вывести на экран смартфона картинку с альфа-каналом, то есть с. . .
|
влияние грибов на сукцессию
anaschu 26.01.2026
Бифуркационные изменения массы гриба происходят тогда, когда мы уменьшаем массу компоста в 10 раз, а скорость прироста биомассы уменьшаем в три раза. Скорость прироста биомассы может уменьшаться за. . .
|
Воспроизведение звукового файла с помощью SDL3_mixer при касании экрана Android
8Observer8 26.01.2026
Содержание блога
SDL3_mixer - это библиотека я для воспроизведения аудио. В отличие от инструкции по добавлению текста код по проигрыванию звука уже содержится в шаблоне примера. Нужно только. . .
|
|
Установка Android SDK, NDK, JDK, CMake и т.д.
8Observer8 25.01.2026
Содержание блога
Перейдите по ссылке: https:/ / developer. android. com/ studio и в самом низу страницы кликните по архиву "commandlinetools-win-xxxxxx_latest. zip"
Извлеките архив и вы увидите. . .
|
Вывод текста со шрифтом TTF на Android с помощью библиотеки SDL3_ttf
8Observer8 25.01.2026
Содержание блога
Если у вас не установлены Android SDK, NDK, JDK, и т. д. то сделайте это по следующей инструкции: Установка Android SDK, NDK, JDK, CMake и т. д.
Сборка примера
Скачайте. . .
|
Использование SDL3-callbacks вместо функции main() на Android, Desktop и WebAssembly
8Observer8 24.01.2026
Содержание блога
Если вы откроете примеры для начинающих на официальном репозитории SDL3 в папке: examples, то вы увидите, что все примеры используют следующие четыре обязательные функции, а. . .
|
моя боль
iceja 24.01.2026
Выложила интерполяцию кубическими сплайнами www. iceja. net
REST сервисы временно не работают, только через Web.
Написала за 56 рабочих часов этот сайт с нуля. При помощи perplexity. ai PRO , при. . .
|