Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

2019/04/22

利用 Veyon + WinSCP 讓學生端電腦下載FTP server上的多個檔案

Teacher's PC
  • 需事先安裝設定 Veyon with Master & FileZilla FTP Server
Students' PCs
  • 安裝 Veyon without Master
  • 安裝WinSCP,預設路徑  ( C:\Program Files (x86)\WinSCP\ )
  • 建立 C:\bat 資料夾,並新增 scpget.bat & scpcmd.txt 二個檔案
[scpget.bat]
@"C:\Program Files (x86)\WinSCP\winscp.com" /ini=nul /script=c:\bat\scpcmd.txt
@exit

scpget.bat 是一個批次檔,簡單的一句話,執行 winscp.com 並讀取預先建好的文字檔scpcmd.txt 裡的內容。在批次檔的每一行前面加個 小老鼠 @ ,在 dos 視窗就不會顯示所執行的指令,如果執行速度快,只會在畫面上看到 dos視窗閃一下。

----

[scpcmd.txt]
open ftp://user:passwd@192.168.1.1
lcd c:\temp
get *.*
exit

scpcmd.txt 裡是WinSCP專用的語法,每一行一個指令。 這個檔案的意思是讓 winscp.com 去連上 192.168.1.1 這台ftp server,帳號 user、密碼 passwd,  並將本地端的目錄設定為 c:\temp,  get *.*就是把 ftp server上的檔案抓下來。 然後 exit  結束 winscp.com 這支程式。一句話簡述,就是把ftp server 上的檔案下載到學生端電腦 c:\temp 裡,下載完後結束程式。

---------------------------------------------------------------


最後操作Teacher's PC 透過 Veyon讓Students' PCs 執行 C:\bat\scpget.bat 即可。

[延伸應用]
執行批次檔清空特定資料的檔案
執行批次檔安裝指定軟體或更新

[link]
https://veyon.io/
https://winscp.net/
https://filezilla-project.org/

2018/03/28

How to Format a Mac drive on Windows 10

HFSExplorer is easy and convenient to use.

Must have a Java SE Runtime Environment (version 5.0 or greater) before running HFSexplorer.

[link]
http://www.catacombae.org/hfsexplorer/

2017/12/13

How to solve MSI GS60 2PE Ghost Pro Bluetooth issue [win10]

Don't use Windows 10 built-in driver!
For the reason that Bluetooth devices would be disconnected while Wi-Fi getting busy.
It's recommended to install Intel official drivers for "Intel® Dual Band Wireless-AC 7260".
Please install both of Wi-Fi and Bluetooth drivers.

[Link]
https://www.intel.com/content/www/us/en/support/articles/000005559/network-and-i-o/wireless-networking.html