随笔分类 -  Windows

如何在 Windows Event Log 中查找系统重启的信息
摘要:事件ID:12事件ID 13:事件ID 41:事件ID 6008:事件ID 1074:事件ID 1074: 版权声明:本文为博主vigel1990 原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/c105298 阅读全文

posted @ 2019-11-25 11:01 liujx2019 阅读(911) 评论(0) 推荐(0)

Windows 强制删除文件夹和子文件
摘要:rd /s /q dir_name 阅读全文

posted @ 2019-11-11 16:04 liujx2019 阅读(279) 评论(0) 推荐(0)

Logon Trigger Example (C++)
摘要:This C++ example shows how to create a task that is scheduled to execute Notepad when a user logs on. The task contains a logon trigger that specifies 阅读全文

posted @ 2019-11-07 14:55 liujx2019 阅读(289) 评论(0) 推荐(0)

Task Scheduler API Error 80041318
摘要:https://stackoverflow.com/questions/42307917/task-scheduler-api-error-80041318/42462235#42462235 Hi I am having an issue with the Task Scheduler API i 阅读全文

posted @ 2019-11-07 14:54 liujx2019 阅读(450) 评论(0) 推荐(0)

Task Scheduler Error Message: 80041318
摘要:Using the error lookup tool that comes with VC++ (errlook.exe, or "Error Lookup" on the Tools menu in the IDE), the error message for 0x80041318 is "T 阅读全文

posted @ 2019-11-07 14:52 liujx2019 阅读(299) 评论(0) 推荐(0)

How to check if directory exist using C++ and winAPI
摘要:如果看文件夹是否存在,必须看返回值是不是 INVALID_FILE_ATTRIBUTES 阅读全文

posted @ 2019-11-01 09:32 liujx2019 阅读(217) 评论(0) 推荐(0)

Synchronous and Asynchronous I/O [Windows]
摘要:There are two types of input/output (I/O) synchronization: synchronous I/O and asynchronous I/O. Asynchronous I/O is also referred to as overlapped I/ 阅读全文

posted @ 2019-10-17 15:46 liujx2019 阅读(308) 评论(0) 推荐(0)

Testing for the End of a File (Windows 的异步 IO)
摘要:The ReadFile function checks for the end-of-file condition (EOF) differently for synchronous and asynchronous read operations. When a synchronous read 阅读全文

posted @ 2019-10-17 15:45 liujx2019 阅读(328) 评论(0) 推荐(0)

Synchronization and Overlapped Input and Output
摘要:You can perform either synchronous or asynchronous (also called overlapped) I/O operations on files, named pipes, and serial communications devices. T 阅读全文

posted @ 2019-10-17 15:44 liujx2019 阅读(144) 评论(0) 推荐(0)

DiskPart.exe and managing Virtual Hard Disks (VHDs) in Windows 7
摘要:coreygo October 7, 2009 In Windows 7, new commands have been added in DiskPart to allow for the creation and management of Virtual Hard Disks (.vhd fi 阅读全文

posted @ 2019-10-17 15:43 liujx2019 阅读(302) 评论(0) 推荐(0)

终止过久没有返回的 Windows API 函数 ---- “CancelSynchronousIo”
摘要:Marks pending synchronous I/O operations that are issued by the specified thread as canceled. https://docs.microsoft.com/zh-cn/windows/win32/fileio/ca 阅读全文

posted @ 2019-10-17 14:26 liujx2019 阅读(370) 评论(0) 推荐(0)

Asynchronous Disk I/O Appears as Synchronous on Windows
摘要:Summary Summary File I/O on Microsoft Windows can be synchronous or asynchronous. The default behavior for I/O is synchronous, where an I/O function i 阅读全文

posted @ 2019-10-17 13:31 liujx2019 阅读(191) 评论(0) 推荐(0)

[Windows] 如何通过 mount point 找到对应的 VHD 文件
摘要:假设有一个 Virtual Disk(VHD) 文件。已经 online --> attach --> mount。 知道 mount 的文件夹,要找到 .vhd 文件。可以用如下方法: 1. 通过文件夹路径找到 Volume DISKPART> list volume Volume ### Ltr 阅读全文

posted @ 2019-10-17 10:09 liujx2019 阅读(319) 评论(0) 推荐(0)

Bat 脚本 删除某一行
摘要:findstr /v /i /c:"kiwi" /c:"oranges" myfile.txt >newfile.txt 阅读全文

posted @ 2019-10-11 16:30 liujx2019 阅读(1459) 评论(0) 推荐(0)

设定程序随windows启动
摘要:Boot Trigger Example (C++) 阅读全文

posted @ 2019-07-16 14:41 liujx2019 阅读(504) 评论(0) 推荐(0)

Windows 切换 working directory
摘要:用函数 _chdir() 例如用计划任务启动,pwd 是 system32 使用相对路径的地方会出错。 在 main 函数刚启动的时候转换一下 working directory 可解。 阅读全文

posted @ 2019-07-15 17:46 liujx2019 阅读(311) 评论(0) 推荐(0)

Windows 计划任务 如果选择未登录就运行 则看不到GUI
摘要:You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered. To do 阅读全文

posted @ 2019-07-15 14:02 liujx2019 阅读(683) 评论(0) 推荐(0)

Windows 查看进程启动时间
摘要:Run --> msinfo32 阅读全文

posted @ 2019-07-15 10:50 liujx2019 阅读(2147) 评论(0) 推荐(0)

通过 FTP 从 Windows 向 Linux 拷贝文件之后,文件的权限很可能会变化,要检查
摘要:Windows7 到 Ubuntu 16.04 LTS 阅读全文

posted @ 2019-07-11 17:58 liujx2019 阅读(1078) 评论(0) 推荐(0)

ReportEventA 错误 ERROR_CRC
摘要:如果 level 的宏弄错了,就会出现这种奇怪的现象。 阅读全文

posted @ 2019-07-01 17:15 liujx2019 阅读(181) 评论(0) 推荐(0)

导航