D:\>wmic logicaldisk get name,size,freespace,filesystem FileSystem FreeSpace Name Size NTFS 27475079168 C: 52323938304 NTFS 61808246784 D: 75604422656 NTFS 1728559943680 E: 2000396742656
Category: win
for @echo file
D:\>(for %i in (*.mp4) do @echo file ‘%i’)>mylist.txt D:\>type mylist.txt file ‘20250201-30.mp4’ file ‘20250202-30.mp4’ file ‘20250203-30.mp4’ file ‘20250204-30.mp4’ D:\>ffmpeg -f concat -i mylist.txt -c copy myout.mp4 ffmpeg version N-110091-g261fb55e39-20230326 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (crosstool-NG 1.25.0.152_89671bf) [mov,mp4,m4a,3gp,3g2,mj2 @ 0000026fe040a3c0] Auto-inserting h264_mp4toannexb bitstream filter Input #0, concat, from ‘mylist.txt’: Duration: N/A,… Continue reading for @echo file
net use share user
C:\Windows\system32>net user admin admin /add 命令成功完成。 C:\Windows\system32>net user admin /del 命令成功完成。 C:\Windows\system32>net use 会记录新的网络连接。 状态 本地 远程 网络 ——————————————————– \\TSCLIENT\disk0 Microsoft Terminal Services \\TSCLIENT\disk1 Microsoft Terminal Services \\TSCLIENT\disk2 Microsoft Terminal Services 命令成功完成。 C:\Windows\system32>net use O: \\TSCLIENT\disk0 /user:admin 命令成功完成。 C:\Windows\system32>net use O: \\TSCLIENT\disk0 /user:admin 命令成功完成。 C:\Windows\system32>xcopy D:\test1\ O:\test1\ C:\Windows\system32>copy D:\test2.txt O:\test2.txt C:\Windows\system32>move D:\test3.txt O:\test3.txt C:\Windows\system32>del D:\test4.txt… Continue reading net use share user
远程桌面连接提示被锁,更改账户锁定策略
cmd–>gpedit.msc 计算机配置–>Windows设置–>安全设置–> 账户策略–>账户锁定策略 可以把"允许管理员账户锁定"禁用, 也可以把账户锁定阀值调大一点。
挂接Windows文件共享
Device Boot Start End Blocks Id System /dev/sda1 1 4 32098+ de Dell Utility /dev/sda2 * 5 2554 20482875 7 HPFS/NTFS /dev/sda3 2555 7904 42973875 83 Linux /dev/sda4 7905 8924 8193150 f Win95 Ext’d (LBA) /dev/sda5 7905 8924 8193118+ 82 Linux swap 插入U盘后,再用fdisk –l 或 more /proc/partitions查看系统的硬盘和硬盘分区情况。 [root at pldyrouter root]# fdisk -l Disk /dev/sda:… Continue reading 挂接Windows文件共享