Questions tagged [extension]

69 questions
15
votes
2 answers

Get all extensions and their respective file count in a directory

Getting all extensions for a directory: easy. Getting file counts for a particular extension: easy. But getting all file extensions and their respective file counts is alluding me. eg. + dir + abc.txt + def.txt + abc.pdf * def.pov should return…
denormalizer
  • 471
  • 2
  • 5
  • 15
13
votes
5 answers

Rename files to empty filename in Windows (Vista)

Vista allows files with empty "first name" (for example, ".svn"). However, when I try to remove the filename of an existing file, leaving the prefix, in Explorer or using cmd's 'rename', I fail. How can I easily rename files to include the suffix…
ripper234
  • 5,710
  • 9
  • 40
  • 49
7
votes
1 answer

Is there any way to restrict user from changing file extensions in Windows XP, Vista, Windows 7?

For example, not allow users to rename abc.doc to abc.jpg? Is there any windows group policy for that? I am not asking file association restriction. If it really can't, is there any group policy to enforce "Hide file extensions for known file types"…
Frankie Yip
  • 81
  • 1
  • 5
4
votes
1 answer

Is it possible to mirror a MediaWiki article from another wiki?

I have two MediaWiki installations on two different domains, both on the same server but with different databases. Is there a feature or extension that will allow me to automatically mirror the contents of one wiki to the other, and have the…
William
  • 149
  • 6
3
votes
1 answer

Complicated mod-rewrite

I have a requirement from a customer to perform some specific redirects (part of decomissioning an old server to a new one). I've been banging my head against this and it's driving me nuts! In effect, I need to do two .htaccess mod-rewrites at the…
2
votes
2 answers

Powershell script to Inventory File Types

I have been writing a script to inventory drives by specific file types. (AVI, MPG, MP3, etc....) I can get the base script to work using only a set drive and extension, but I would really like to have it read extensions from a file, and drives…
Keith
  • 23
  • 4
2
votes
1 answer

Nginx whitelist file extension

server { listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 default ipv6only=on; ## listen for ipv6 server_name public; root /var/www/public; location = /gameserver/ { root /var/www/public/gameserver; index…
vitali
  • 21
  • 1
  • 4
2
votes
1 answer

How can I install URLScan?

I went to the official Microsoft site to install URLScan 3.1 from here However, the Web Platform Installer 4.6 is unable to find the extension to IIS. I've looked in the complete list, as well as under the server product list (which should be a…
Zesty
  • 153
  • 7
2
votes
0 answers

IIS6 Web Extensions change to prohibited after iisreset or server reboot?

We run IIS6 in 64-bit mode on a 64-bit server. I'm trying to allow the .net 2.0 extension to run and prohibit the 32-bit version. See below screenshot for context: However, after a reboot or iisreset, the 64-bit version of the extension reverts to…
Ryan Mortier
  • 488
  • 3
  • 8
  • 19
2
votes
8 answers

Deleting all executables in a directory in Linux

Before I recursively tar a directory i want to be able to delete all of the executables. In windows I would have simply deleted all of the files with .exe extensions. And I cannot simply delete all files with the executable mode since that would…
DHamrick
  • 815
  • 2
  • 9
  • 8
2
votes
2 answers

PHP install sqlite3 extension

We are using PHP 5.3.6 here, but we used the --without-sqlite3 command when compiling PHP. (It stands in the 'Configure Command' column). But, it is very risky to recompile PHP on that server; there are many visitors. How can we install/use…
2
votes
1 answer

Associate .ps1 to powershell.exe through domain GPO on 2008r2

I need to associate .ps1 with powershell.exe instead of Notepad via GPO from a 2008r2 DC. I've seen one question mention CSE under Computer Configuration\Preferences\Control Panel Settings\Folder Options and setting it there. But I'm not sure…
2
votes
2 answers

Explorer Right Click Context Menu Items Missing

OS: Windows XP Service Pack 2 When I right click on a file/folder most of the third party context menu items are missing. These are the items like 7zip , Unlocker, Winamp ... which adds entry to right click context menu. What could be wrong? I…
surajs
  • 123
  • 1
  • 3
2
votes
0 answers

Nginx can't accept TLS handshake when client is not sending TLS extensions

Nginx is configured as load balancer and has a server certificate installed to terminater TLS handshake for MQTT connections. It works when TLS extensions are included in clientHello during the handshake but there are other clients running old code…
Z Wang
  • 21
  • 1
  • 2
1
vote
1 answer

How to prevent Firefox extensions/add-ons from being disabled/uninstalled

I'd like to know if there is a way to prevent me or others from disabling or uninstalling Firefox extensions/add-ons (I'm on 66.0.3). (Am using Leechblock but I catch myself every so often just disabling it an mindlessly indulging). Thank you for…
N. Mercer
  • 11
  • 1
1
2 3 4 5