For system administrator
  • Blog
  • About
  • Archives
  1. Tags
  2. url file

Создание ярлыка .url в Windows из cmd\bat

Для создания ярлыка в Windows на сетевую папку использую такой bat скрипт:

@ECHO OFF

SET "PATH_TO_URL=Server.url"

(
    ECHO.[InternetShortcut]
    ECHO.URL=file://server/
    ECHO.IconFile=%windir%\system32\SHELL32.dll
    ECHO.IconIndex=17
)>%PATH_TO_URL%

Ссылки по теме:

  1. forum.oszone.net: CMD/BAT - создать ярлык
more ...

  • Social

    • Github
    • stackoverflow
  • Recent Posts

    • Создание ярлыка .url в Windows из cmd\bat
  • Categories

    • Atlassian
    • Bash
    • Bat-cmd
    • Bind
    • Blog
    • CentOS
    • Docker
    • Fedora
    • FreeBSD
    • Gitlab
    • Hardware
    • JavaScript
    • Linux
    • MacOSX
    • Mikrotik
    • PostgreSQL
    • Ubuntu
    • VCS
    • Windows
    • Zabbix
    • Zimbra

© 2013 Denis Kadyshev · Powered by pelican-bootstrap3, Pelican, Bootstrap

Creative Commons License Content licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where indicated otherwise.

Back to top