Questions tagged [flag]

37 questions
18
votes
1 answer

How to set a flag as default on an *.EXE file?

When I open Sumatra I need inverted colors by default. But even though I changed the shortcuts to: "/sumatraPDF.exe" -invert-colors the program runs without the flag when I double click a PDF file at a time where the program is closed. How do I make…
Coolwater
  • 354
18
votes
2 answers

Is there a difference between a command line flag and a command line option?

I am hearing these two terms interchangeably and I am wondering if there is any difference between them, like flags are for one letter options or flags are after a single dash.
yoyo_fun
  • 1,883
9
votes
2 answers

Why can't -z be the last command-line option to be used with tar?

$ ls one.tar.gz one.tar.gz $ tar -xvfz one.tar.gz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now $ tar -xvzf one.tar.gz one $ tar -xzvf one.tar.gz one $ tar -zxvf one.tar.gz one $
Lazer
  • 18,407
8
votes
1 answer

Disable Chromes Ctrl+P handling of printing

How can I disable Google Chrome's CTRL+P handling of printing (i.e. return the keyboard shortcut to Windows and how it handles printing)? Windows 7 64-bit Chrome v13.0.782.112 Edit, Now that I know how, this generates a more interesting question,…
Moab
  • 58,769
7
votes
1 answer

How to make all files non-executable recursively using find without affecting directories?

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process find /dir/ -type f -exec chmod ugo-x {} \; find /dir/ -type d -exec chmod ugo+rx {} \; Is it possible…
wting
  • 1,162
5
votes
2 answers

Dark mode in chrome-based browsers

I'd like to run chrome-based browser with a dark-mode on. I can do it by going to: chrome://flags finding #enable-force-dark flag setting it "Enabled" It works on my Linux system both on Chromium and Vivaldi, but it's a cumbersome approach when…
5
votes
2 answers

Why do options with long strings have a double dash?

Why do Command Line flags like --recursive have two dashes instead of just -recursive? I know that the shortened version is just -r. Why do these flags use two hyphens rather than one hyphen? Is there a maximum number of characters that a flag with…
3
votes
1 answer

How to add 'time' to 'follow up flag' in Outlook 2003?

It would appear that the dialog for setting 'follow up flags' in Outlook 2003 is limited to date only. Does anyone know of a workaround to add a time to this?
adolf garlic
  • 2,155
3
votes
2 answers

Outlook - Create rule or macro that runs when I flag an email - move to a "Flagged" folder and mark as unread

I'm trying to figure out if there is a way to create a rule or run a macro to accomplish the following: Ideally, this rule would run when I click the flag icon on an email It would move that item to a folder called "Flagged" It would mark that item…
2
votes
2 answers

bash: test if sort supports -h flag

I have a function in my bash that has a sort -h but on one of my setups sort doesn't support the -h flag. How do I test that so I can provide an else to have a sort without -h?
2
votes
1 answer

Which are the default partition flags for Packard Bell Easynote laptops?

How should the partition flags be set for the default partitions of Packard Bell laptops? PQSERVICE SYSTEM RESERVED WINDOWS (Seven) In my case, the model is an EasyNote LJ65. Which partition should have the boot flag on ? Which one the diag flag…
2
votes
1 answer

What is the difference between the read-only attribute and the access control list read-only flag on Windows?

I'm looking for a technical answer, not a general answer, pertaining to how Windows actually handles these properties. For example, there are some programs that recognize the read-only attribute and others that completely ignore it.
NobleUplift
  • 1,665
2
votes
1 answer

Where is the flag for write caching on any given drive located? Is it in the OS or on the disk itself?

Basically, I want to know if write caching flag is portable (stored on the disk), or if it is dependent on the OS (maybe stored in the registry or something) via which it is activated. If I enable write caching for a flash drive via the OS my Win7…
2
votes
2 answers

How to remove RAID flag on unstriped drive without losing data?

I have a Gigabyte Z68X-UD4-B3 motherboard. It advertises this new thing called "XHD", which is like RAID but makes a SSD and traditional-style drive work together to enable high speed with high capacity. I don't want to use this feature, and I…
2
votes
2 answers

Can IMAP mail be migrated locally without loss of information?

I need to save all of my IMAP mail in an account I have that will be expiring, to my local disk. The problem is that no matter which IMAP backup tool I can find, there is always some loss of information, like the "SEEN" flag, other metadata, or the…
user553702
  • 1,451
1
2 3