Skip to content
Advertisement

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 instance, cat /sys/block/sda/queue/rotational

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? Answer The FTP specification does not allow any filemasks. While

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.example.com The full code

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 web server, SHA2 checksum match when the zip

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 same service on Linux or Mac

Exporting functions from an executable using a def file

There is plenty of information available about how to export functions from a dll (which I’ve done many times), but I heard that it’s also possible to export functions from an executable, so that an external dll can call them. Although I’ve managed to get this working, it seems as though there’s some problem with the entry point: If it

Advertisement