Skip to content

Tag: windows

Get disk type in QT

I want to get disk type (SSD or HDD) in QT. I’ve checked QStorageInfo but I could not find anything useful for my purpose. By the way I need a solution that’s work on both Windows and Linux. Answer For linux, you can tell whether the kernel has detected a SSD disk by reading special file For insta…

ftp *.[cC][sS][vV] not working as intended on Windows

One of my client’s ftp server recently moved from Linux to Windows. Searching using *.[cC][sS][vV] looks for *.csv and *.CSV files as intended on Linux. But this doesn’t work on Windows. Is there a way to expand this correctly on Windows or perform a case-insensitive search on Windows ftp server? …

Command Not Found CentOS | .bat File

Im trying to run a .bat file on my server through php popen command, ive struggled and finally got to the point where all the permissions are set correctly and now i can actually execute the file but i have a problem. In my server logs it displays foo.bat: line 1: mstsc: command not found, referer: http://dev…

Unable to unzip large Linux zipped archive in Windows

Server environment: Linux RHEL5 x86_64, Apache, PHP Client environment: Windows 10 64 bit (VirtualBox MacOS host), 4GB Ram, 30GB free space, Browser IE11 (also tested with Edge/Firefox), 7zip The scenario is the following: I upload a zip (there is a file inside the archive that is 2.5GB) via browser to my PHP…

How to run windows service on Linux or Mac OS [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have created windows service and it is working fine on Windows OS ,but we need to run this …