通过批处理脚本使用浏览器直接打开网址

  |   0 评论   |   6,996 浏览

    mac中的脚本如:上传图片.sh

    !/bin/bash
    cd "/Applications/Google Chrome.app/Contents/MacOS" "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --args --app=http://ip.jishijun.cn:8081/publish/autopub/upload
    

    效果图:

    win中的脚本如:上传图片.bat

    start C:\Users\sily\AppData\Local\Google\Chrome\Application\chrome.exe --app=http://ip.jishijun.cn:8081/publish/autopub/upload
    
    exit
    
    

    效果图:

    评论

    发表评论

    validate