windows server 安裝 WSL2

參考網址:microsoft

Windows 子系統 Linux 版可在 Windows Server 2019 (版本 1709) 和更新版本上安裝。

發表於 Windows系統 | 發表迴響

[5a88]5a88無法APE

問題:無法tnr控制學生端進入PE狀態,下指令後學生端重新開機,卻直接進windows10
程式追蹤:先將bin\SendTag.bat最後第三行的shutdown REM,看看學生端電腦是否有ape.txt檔案。

 

執行以下程式,看看是否能建立ape.txt
 

REM 1_ip 2_PW 3_SU 4_mac 5_group 6_sendCMD 7_data1 8_data2

REM .\pstools\psexec.exe -accepteula -u %3 -p %2 \\%1 -c .\bin\SendTag.bat %6
.\pstools\psexec.exe -accepteula -u administrator -p btw@xxxx \\192.168.1.12 -c .\bin\SendTag.bat ape

pause

 

原來問題出在DATA磁碟的名稱,之前的系統用DATA,後來用 data ,大小寫有差。
找到 if %%F==data (set dataVolume=%%D)
再加一行 if %%F==DATA (set dataVolume=%%D) 讓大寫的DATA也可以接受,程式就可以正常了。

@echo off
REM made by ng344@tn.edu.tw 20200413

REM 找出使用中的磁碟代號
wmic logicaldisk get caption,volumename,drivetype > %temp%\wmicUseDisk.txt

REM 找出data槽或除c槽外的本機磁碟
set dataVolume=
set UseVolumeNoC=
for /f "skip=1 tokens=1-3 delims= " %%D in ('type %temp%\wmicUseDisk.txt') do (
	if %%E==3 (
		if %%F==data (set dataVolume=%%D)
		if not %%D==C: (set UseVolumeNoC=!UseVolumeNoC! %%D)
	)
)
REM 設定第一個使用的磁碟(非C)
set UseVolumeNoC1=%UseVolumeNoC:~1,2%

if defined dataVolume (fsutil.exe file createnew %dataVolume%\%1.txt 0 >nul) else (
if defined UseVolumeNoC1 (fsutil.exe file createnew %UseVolumeNoC1%\%1.txt 0 >nul) else (
echo 發生錯誤,無實體磁碟可以傳遞標籤,請洽系統管理員。 & goto end
))

shutdown /r /f /t 0
:end
exit


 

 

發表於 Windows系統 | 發表迴響

Send Anywhere免傳輸線!手機電腦互傳照片影片音樂,打開網頁立即傳。

參考網址:

痞凱踏踏

Send Anywhere

發表於 ANDROID, Windows系統 | 發表迴響

[ubuntu]安裝squid

參考網址:CSDN

發表於 Linux系統 | 發表迴響

Stream Recorder

參考網址:https://www.hlsloader.com/index.html

Chrome Extension for downloading streaming videos
 

琅琊榜之風起長林
https://chinaq.tv/nirvana-in-fire-2/5.html#1

發表於 軟體使用 | 發表迴響

network_traffic_view網路流量監視軟體

參考網址:http://www.nirsoft.net/utils/network_traffic_view.html

發表於 軟體使用 | 發表迴響

以指令修改調整螢幕解析度設定

參考網址:https://tonysnote.whybut.com/2017/04/blog-post.html?m=1

 

 

NirCmd v2.86
Copyright (c) 2003 – 2019 Nir Sofer
有許多功能

Set the display mode to 800x600x24bit colors nircmd.exe setdisplay 800 600 24
Mute the system volume nircmd.exe mutesysvolume 1
Unmute the system volume nircmd.exe mutesysvolume 0

 

 

 

發表於 Windows系統 | 發表迴響

[excel]EXCEL用函數統計不重複項目個數

參考網址:https://kknews.cc/zh-tw/tech/prpbq2.html

公式=SUMPRODUCT(1/COUNTIF($B$3:$B$16,$B$3:$B$16))


發表於 Windows系統, 軟體使用 | 發表迴響

Windows 10 now runs on the Raspberry Pi 4 and 3

參考網址:https://www.windowslatest.com/2020/02/09/heres-how-windows-10-runs-on-raspberry-pi-4-and-3/

https://www.worproject.ml/downloads

發表於 Linux系統, Windows系統 | 發表迴響

[bat]批次檔轉成exe Quick Batch File Compiler

參考網址:https://www.abyssmedia.com/quickbfc/

Main Features:

  • Creating a 32-bit or 64-bit applications in a single click.
  • Save/Load Project Options
  • Open context help for batch commands by pressing F1 in editor
  • Embedded files: you can embed files to the compiled executable. This files will be decompressed before script execution and deleted on exit.
  • Can create Ghost applications without DOS window.
  • Allows you to select application icon
  • Allows you to edit Version Info for EXE-file.
  • Protects contents of a batch file from the non-authorized change
  • Hides contents of a batch file from viewing.
  • It is not necessary to be the programmer to create the program
  • It may be useful for installation and automation tasks
  • Syntax highlighting of commands inside built-in editor
  • Can compile any batch file to exe format compatible with XP/Vista/7/8/10.
  • All compiled files royalty-free
發表於 Windows系統, 軟體使用 | 發表迴響