r/usefulscripts • • Oct 19 '16

[REQUEST] Script to ping 3 million IP addresses

1 Upvotes

I need a script to ping our entire address range and more. I have tried to do this myself but I cannot get my head around threading/batching the job. I'm currently using a VBscript that performs the ping using a wmic query, I don't believe this is the most efficient way at all but I haven't found the time to learn powershell. I need something lightweight and fast to preferably ping the whole 3 million addresses in less than 2 hours. My current script would take 277 hours. Input would be a CSV of all addresses. If you don't have time to write anything but you have some ideas on how this should be done I would appreciate your reply.

Edit: I'm well aware of the risks in doing this and we won't be killing our network. I think I have found a tool that will work (fping). Phrasing the output is not an issue.


r/usefulscripts • • Feb 07 '24

Need Urgent Help 😣

1 Upvotes

So I am new to PowerShell and although I have Googled and whatnot, still failed to find a proper script.

Can anyone please help me with a script that will help:

  1. To get all the files Full Path/Name, Size of the file, Last Access Time, Last Modified Date, Date Created. Permissions will be a plus.

  2. To not have the path too long error.

This will be used to run on a NTFS File Share with about 40 TB of data. Please help! All the scripts that I found are not working properly.


r/usefulscripts • • May 24 '25

[Arch Linux Gaming setup script]

0 Upvotes

I made this script because new users might be confused when setting up arch after installing with archinstall and breaking their system.

(This is my first coding project so i might have made mistakes)

If you have any questions don't feel afraid of asking me ;)

Github: https://github.com/magikarq/fishscripts

Run and install:

  1. Clone the repository:

git clone https://github.com/magikarq/fishscripts.git
cd fishscripts

2. Run the main setup script:
chmod +x setup.sh
sudo ./setup.sh


r/usefulscripts • • Jul 24 '24

Creating a script that does the following... [powershell]

4 Upvotes

Hey everyone,

I'm looking to streamline some routine IT tasks by creating a script that automates the following steps once executed:

  1. Update Software:

    • Set Power plan to never sleep/hibernate, or shut off display. Our speficifc one is called "Hi Power IT" which comes pre put due to the imag.

    • Perform Windows Update to ensure the system is up-to-date.

    • Check for updated drivers using Lenovo Vantage after Windows updates are complete. (If possible not too worried about this)

    • Remove outlook(new) and use old outlook, same for teams..

  2. Verify and Install Applications:

    • Confirm the presence of Endpoint Central, Sentinel One, Firefox, and Foxit Reader.

    • Install VLC Media Player, Office 365, Teams, and 7zip if they are not already installed.

  3. System Maintenance:

    • Remove Copiloit/Hide co pilot, hide the news and all those windows extras the aren't neceassary

    • Delete the folder named "Temp" from the main C drive (not %temp%).

    • Disable IPv6.

    • Verify domain and activation status.

    • Run Disk Cleanup to free up space.

I'm relatively new to scripting, and while I have some basic knowledge, creating a comprehensive script for these tasks is beyond my current capabilities. I'm hoping to get some guidance or perhaps even a sample script that I can adapt to fit our environment.

Any help or pointers would be greatly appreciated. Thanks in advance!


r/usefulscripts • • Feb 24 '26

"[can someone please tell me what's wrong with this script]"

Post image
4 Upvotes

This is a powershell script I wrote based on someone else's example. It's intended to be used in conjunction with task scheduler and meant to run in the background. Its purpose is to backup a specific folder in regular intervals. It's supposed to copy the folder to a specified destination, compress it to a zip file and then delete the original non-zipped copy. It's also supposed to retain and maintain only the last seven copies.

However it doesn't always delete the original non zipped copies, (works about half the time) nor does it run in the background or exit powershell when finished. It will pull up the Powershell window every single time the script runs. It's especially irritating when I'm gaming in full screen mode because it will disable it to run the script. Normally, it'll just pop up over or behind any other window I have open.

I'm fairly new to scripting and have only written a few simple scripts so far, so I'm not entirely sure where I went wrong or how to go about fixing it. Any assistance would be appreciated.


r/usefulscripts • • Oct 22 '25

[Advanced Text Manipulation Tool]

Thumbnail
github.com
0 Upvotes

# TextTool - Advanced Text Manipulation Tool

A powerful, feature-rich command-line text processing tool built with Python. TextTool provides an intuitive interface for performing complex text operations including regex replacements, filtering, data extraction, and batch processing.

## Features

### Core Functionality

- **Load & Save**: Load from files or clipboard, save to new files or overwrite originals

- **Filtering**: Select, show, and delete lines based on patterns or regex

- **Text Replacement**: Simple text replacement, regex patterns, and capture groups

- **Organization**: Sort lines, remove duplicates, and reorganize content

- **Undo/Revert**: Full undo support for all operations

### Advanced Operations

- **Bulk Replacement**: Replace multiple strings using mapping files or clipboard

- **Conditional Replacement**: Replace text only in lines matching specific criteria

- **Extraction**: Extract URLs, emails, text between delimiters, or specific columns

- **Data Processing**: Filter by length, detect mismatches, convert CSV to tables

- **Batch Processing**: Use placeholder templates for mail-merge style operations

- **Code Blocks**: Extract and process indented content hierarchically

### Interactive Features

- **Live View**: Real-time visual editor with syntax highlighting

- **Search & Navigation**: Find text with regex support, whole-word matching

- **Command Palette**: Access all commands with fuzzy search

- **Context Menu**: Right-click operations for quick actions

- **History**: Persistent command history across sessions

## Quick Start

### Basic Usage

```bash

# Start TextTool

python TextTool.py

# Load a file

load "path/to/file.txt"

# Load from clipboard

load

# Show all lines

show

# Show lines containing "error"

show "error"

# Replace text

replace "old" "new"

# Save changes

save

```

### Common Tasks

**Filter and extract specific lines:**

```

select "error"

show

```

**Replace with regex patterns:**

```

replace "(\d{2})-(\d{2})-(\d{4})" "\3/\2/\1"

```

**Remove duplicates and sort:**

```

sort

unique

remove_empty_lines

```

**Extract specific columns from CSV:**

```

extract_column "1,3,5" ","

```

**Interactive replacement with confirmation:**

```

replace_confirm "old_text" "new_text"

```

## Core Commands

### File Operations

| Command | Purpose |

|---------|---------|

| `load [file_path]` | Load a text file or clipboard content |

| `save [file_path]` | Save modified text to file |

| `revert` | Undo the last operation |

### Viewing & Filtering

| Command | Purpose |

|---------|---------|

| `show [pattern]` | Display lines matching pattern |

| `select [pattern]` | Keep only lines matching pattern |

| `delete [pattern]` | Remove lines matching pattern |

| `count [pattern]` | Count matching lines |

### Text Modification

| Command | Purpose |

|---------|---------|

| `replace "old" "new"` | Replace text with optional regex |

| `right_replace "old" "new"` | Replace from pattern to end of line |

| `left_replace "old" "new"` | Replace from start to pattern |

| `replace_confirm "old" "new"` | Interactive replacement with confirmation |

| `conditional_replace "search" "replace" "target"` | Replace only in matching lines |

### Data Processing

| Command | Purpose |

|---------|---------|

| `sort` | Sort all lines alphabetically |

| `unique` | Remove duplicate lines |

| `remove_empty_lines` | Delete blank lines |

| `trim_whitespace` | Remove leading/trailing spaces |

| `convert_case upper\|lower\|title` | Change text case |

### Extraction & Analysis

| Command | Purpose |

|---------|---------|

| `extract_emails` | Extract email addresses |

| `extract_urls` | Extract URLs |

| `extract_between "start" "end"` | Extract text between delimiters |

| `extract_column "1,3,5" [delimiter]` | Extract specific columns |

| `find_duplicates [threshold]` | Find and count duplicates |

| `statistics` | Display comprehensive text statistics |

### Advanced Features

| Command | Purpose |

|---------|---------|

| `bulk_replace [file] [separator]` | Replace multiple strings from mapping file |

| `placeholder_replace "placeholder" [file]` | Template-based batch replacement |

| `select_indented "pattern"` | Select hierarchical indented blocks |

| `select_lines "1-5,10,15-20"` | Select specific line ranges |

| `filter_length min [max]` | Filter by line length |

| `csv_to_table [delimiter]` | Display CSV as formatted table |

## Advanced Usage

### Regular Expressions

TextTool supports full regex functionality:

```

# Show lines starting with capital letter

show "^[A-Z]"

# Show lines with digits

show "\d+"

# Replace date format

replace "(\d{2})-(\d{2})-(\d{4})" "\3/\2/\1"

# Extract content in brackets

show "\[.*?\]"

```

### Bulk Operations with Mapping Files

Create a mapping file for batch replacements:

**map.txt** (tab-separated):

```

old_value new_value

error ERROR

warning WARNING

info INFO

```

```

bulk_replace map.txt tab

```

### Template-Based Replacements

Generate multiple versions from a template:

**data.txt**:

```

name age city

john 25 london

jane 30 paris

```

**Template in TextTool:**

```

placeholder_replace "{{name}}" "{{age}}" data.txt

```

### Conditional Processing

Replace text only in matching lines:

```

# Replace "error" with "ERROR" only in lines containing "critical"

conditional_replace "error" "ERROR" "critical"

```

### Interactive Live View

```

# Open visual editor with real-time preview

liveview

# Search with Ctrl+F

# Replace with Ctrl+R

# Save with Ctrl+S

```

## Special Features

### Live View Editor

- Real-time text display and editing

- Search with regex support

- Whole-word and case-sensitive matching

- Find/Next navigation with F3 shortcuts

- Direct save functionality

- Load files via dialog

- Paste from clipboard

### Command Palette

Press keyboard shortcut or use menu to access all commands with:

- Fuzzy search across all functions

- Inline parameter entry

- Immediate execution

### Clipboard Integration

- Load text from clipboard with `load`

- Use clipboard as source for mapping files in `bulk_replace`

- Direct copy/paste in Live View

- Seamless workflow integration

## Standard vs Advanced Mode

Standard mode provides essential text processing:

```

advanced # Enable advanced functions

standard # Return to basic mode

```

**Advanced Mode** adds:

- `extract_between` - Extract sections

- `extract_column` - Column extraction

- `bulk_replace` - Mapping-based replacement

- `placeholder_replace` - Template expansion

- `find_duplicates` - Duplicate detection

- `filter_length` - Length-based filtering

- `csv_to_table` - Table formatting

- And more...

## Special Placeholders

Use these in patterns when special characters cause issues:

| Placeholder | Represents |

|-------------|-----------|

| `[pipe]` | Pipe character `\|` |

| `[doublequote]` | Double quote `"` |

| `[quote]` | Single quote `'` |

| `[tab]` | Tab character |

| `[spaces]` | One or more spaces |

Example:

```

replace "[pipe]" "PIPE" # Replace all pipes with "PIPE"

select "[spaces]+" # Select lines with multiple spaces

```

## Examples

### Log File Analysis

```

load "app.log"

show "error" # View all errors

count "error" # Count errors

select "2024-01" # Filter by date

statistics # Get summary stats

save "errors_2024-01.log"

```

### Data Cleaning

```

load "data.csv"

remove_empty_lines # Remove blank lines

trim_whitespace # Clean spacing

convert_case lower # Normalize case

unique # Remove duplicates

sort # Organize

csv_to_table "," # Verify format

save "cleaned_data.csv"

```

### Configuration File Processing

```

load "config.yaml"

select_indented "database:" # Extract database section

show # Review

replace "localhost" "prod.server" # Update

save "config_prod.yaml"

```

### Email List Generation

```

load "template.txt"

placeholder_replace "{{EMAIL}}" "{{NAME}}" "emails.txt"

# Generates personalized version for each row

save "personalized_emails.txt"

```

## Command Help

Every command includes built-in help:

```

command ? # Show detailed help for command

help command # Alternative help syntax

cheat_sheet_regex # Display regex reference

tutorial # Interactive tutorial

```

## Keyboard Shortcuts

### Live View

| Shortcut | Action |

|----------|--------|

| Ctrl+S | Save file |

| Ctrl+F | Find/Search |

| Ctrl+R | Replace dialog |

| F3 | Find next |

| Shift+F3 | Find previous |

| Tab | Indent selected lines |

| Shift+Tab | Unindent selected lines |

## Requirements & Dependencies

- `cmd2`: CLI framework

- `regex`: Advanced regular expressions

- `pandas`: Excel file handling

- `openpyxl`: Excel support

- `win32clipboard`: Clipboard access (Windows)

Auto-installed on first run.

## Performance Tips

- **Large files**: Disable highlighting with the `Highlight` toggle in Live View

- **Complex regex**: Test patterns with `show` before `replace`

- **Bulk operations**: Use `select` first to reduce processing scope

- **Memory**: Process files in sections rather than all at once

## Troubleshooting

**Issue: Clipboard not working**

- Ensure clipboard content is plain text

- Use `load "file.txt"` as alternative

**Issue: Regex not matching**

- Use `cheat_sheet_regex` for pattern help

- Test simple patterns first

- Remember to escape special characters

**Issue: Large file is slow**

- Disable highlighting in Live View

- Use `select` to work with smaller subsets

- Consider processing in multiple passes

**Issue: Special characters causing issues**

- Use special placeholders: `[pipe]`, `[tab]`, `[spaces]`

- Or escape with backslash: `\\|`, `\\t`

## Best Practices

  1. **Always preview before save**: Use `show` to verify changes

  2. **Use revert frequently**: Test operations knowing you can undo

  3. **Save intermediate results**: Keep backups of important stages

  4. **Test regex patterns**: Start simple, build complexity gradually

  5. **Document your workflow**: Save command history for reference

  6. **Use comments**: Add notes between operations for clarity

## Contributing

Contributions welcome! Please:

- Test thoroughly before submitting

- Document new features clearly

- Follow existing code style

- Update README with new commands

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.

## Support

For issues, questions, or suggestions:

- Open an issue on GitHub

- Check existing documentation

- Review the interactive tutorial: `tutorial`

## Version History

**Latest Version**: 1.0.0

- Full feature set for text processing

- Real-time Live View editor

- Advanced regex support

- Batch processing capabilities

- Comprehensive command library

---

**Happy text processing!** πŸš€


r/usefulscripts • • Apr 16 '19

VBScript doesn't loop

0 Upvotes

Do

Dim objFSO 'file system object

Set objFSO = CreateObject("Scripting.FileSystemObject")

Dim objTS 'Text stream object

Const ForWriting = 2

Set objTS = objFSO.OpenTextFile("C:\Results.txt", ForWriting, True)

objTS.Write(Inputbox("Scan the QR Code","QR code scanner for printing labels"))

objTS()

Set oWS = WScript.CreateObject("WScript.Shell")

[oWS.Run](https://oWS.Run) """C:\\Program Files (x86)\\Bartender\\Bartend.exe"" /f=C:\\Users\\Administrator\\Desktop\\Bartender\\FormatQR /p /d=C:\\Results.txt",0,true

Loop

My script does not loop, can someone please help me to make it loop so you can keep on printing?


r/usefulscripts • • Feb 01 '17

[REQUEST] Skype script to always send smilie text without turning it to emoticons

7 Upvotes

I hate emoticons on Skype and I would like to disable them. You can disable emoticons in settings but it's only from your own side. There is a thing you can do to send a text smilie in Skype and it's not going to convert to emoticon.

You type : then you add white space and then you add the last part of the smilie

:alt+8205D displays as :D
:alt+8205) displays as :)

More detailed discussion is here.


r/usefulscripts • • Dec 26 '24

[Chrome] Useful chatGPT free chrome extension

0 Upvotes

Hello, I have built a totally free chatGPT extension. It basically wraps chatGPT to make it look like a workplace where you can

Create folders, which can be very effective when it comes to logical organisation, you can create folders for work, personal stuff. Assign your history chats to your folder, which helps organise your experience with chatgpt. Manage prompts and save them for later use (only typing p: ) will show you all your available prompts. You can also drag and drop message to into folder to assign it The extension is very lightweight and does not affect the default user experience for chatgpt users Find it on chrome store now: MoreChatGPT

Cheers everyone


r/usefulscripts • • Jul 31 '26

[PowerShell] Detecting file extensions by magic, heuristics and LLM

2 Upvotes

Hi,

Some time ago I wrote a PowerShell module called FileInspectorX. I had a need to detect file type and estimate how dangerous it is based on well it's extension, content without use of antivirus or virustotal.

Today I've upgraded it with Magika (offline LLM) from Google so it's even better in detecting what we're dealing with.

Usually Install-Module FileInspectorX works and then:

$I = Get-FileInsight -Path "YourFile"

It has multiple views so people can really get what they need. Here's how the default output looks like:

AnalysisComplete               : True
AnalysisIssues                 :
Detection                      : FileInspectorX.ContentTypeDetectionResult
DetectedExtension              : json
DetectedMimeType               : application/json
DetectionConfidence            : Medium
DetectionReason                : text:json
DetectionReasonDetails         : json:object-key-colon
DetectionValidationStatus      : passed
DetectionScore                 : 73
DetectionIsDangerous           : False
Kind                           : Text
Flags                          : None
GuessedExtension               :
ContainerSubtype               :
ScriptLanguage                 :
PeMachine                      :
PeSubsystem                    :
PeKind                         :
ContainerEntryCount            :
ContainerTopExtensions         :
VersionInfo                    :
Signature                      :
EstimatedLineCount             : 369
TextSubtype                    : log
SecurityFindings               : {text:log, log:levels=0/0/6}
SecurityFindingEvidence        :
ScriptCmdlets                  :
TopTokens                      :
Security                       : FileInspectorX.FileSecurity
Authenticode                   :
DotNetStrongNameSigned         :
References                     :
ShellProperties                : {b725f130-47ef-101a-a5f1-02608c9eebac:2, b725f130-47ef-101a-a5f1-02608c9eebac:4, b725f130-47ef-101a
                                 -a5f1-02608c9eebac:10, b725f130-47ef-101a-a5f1-02608c9eebac:12…}
NameIssues                     : None
Installer                      :
Assessment                     : FileInspectorX.AssessmentResult
AssessmentProfiles             : FileInspectorX.MultiAssessmentResult
Secrets                        :
OfficeExternalLinksCount       :
EncryptedEntryCount            :
InnerFindings                  :
ArchivePreviewEntries          :
InnerExecutablesSampled        :
InnerSignedExecutables         :
InnerValidSignedExecutables    :
InnerPublisherCounts           :
InnerPublisherValidCounts      :
InnerPublisherSelfSignedCounts :
InnerExecutableExtCounts       :
Certificate                    :
CertificateBundleCount         :
CertificateBundleSubjects      :
EncodedKind                    :
EncodedInnerDetection          :

PS C:\Users\przemyslaw.klys.EVOTEC> $I.Detection

Extension             : json
MimeType              : application/json
Confidence            : Medium
Reason                : text:json
ReasonDetails         : json:object-key-colon
ValidationStatus      : passed
Sha256Hex             :
MagicHeaderHex        :
BytesInspected        : 4096
GuessedExtension      :
Score                 : 73
IsDangerous           : False
Alternatives          : {FileInspectorX.ContentTypeDetectionCandidate}
Candidates            : {FileInspectorX.ContentTypeDetectionCandidate, FileInspectorX.ContentTypeDetectionCandidate}
LearnedClassification : FileInspectorX.LearnedClassificationEvidence

PS C:\Users\przemyslaw.klys.EVOTEC> $I.Detection.LearnedClassification.Prediction

Provider         : Magika
ModelId          : google-magika/standard_v3_3@5e2f437fb7b7452368c8c1fa9354858f5487a5c4
RawLabel         : json
OutputLabel      : json
Extension        : json
ExtensionAliases : {json}
MimeType         : application/json
Probability      : 0,99811840057373
Threshold        : 0,5
ThresholdMet     : True
PredictionMode   : HighConfidence
OverwriteReason  :
IsText           : True

With view parameter you can choose 'Analysis', 'Detection','Permissions', 'Raw', 'ShellProperties', 'Summary' 'Assesment', 'Installer', 'Policy', 'References', 'Signature'

In other words - find out everything there is to find about the file. Maybe you will find it useful. Depending on file type some of the fields will be missing which is expected.

Sources: https://github.com/EvotecIT/FileInspectorX

It has also C# library/nuget for those dealing with C#, and want to use it as part of their application.


r/usefulscripts • • May 10 '16

Request Script to check FTP site for files newer than x and download to specific folder. Then append the current date to existing files of the same name. Place newly downloaded files into correct folder.

7 Upvotes

Script to do the following: Check FTP site for files newer than "x"; download Check the "production" folder for any matching file names append the current date to existing files in "production" folder copy the newly downloaded files into correct folder. (Extra Credit!) Send an email from my SMTP server to let me know what was changed.


r/usefulscripts • • Sep 23 '15

Does anyone have a TeamViewer 10 install script?

6 Upvotes

I don't have the MSI, just want to script the free version


r/usefulscripts • • Nov 17 '25

[What can be used in the bot ]

0 Upvotes

I'm making a Telegram bot based on Python.So I need the bot to have a TikTok account session, which is no problem, but I want the bot to send a random video of a person I'm following when I type /tt.No repeat videos in the future, so I don't know how to implement downloading and sending videos, I can't do anything, maybe someone can help, maybe there is something like this on GitHub?


r/usefulscripts • • Sep 23 '15

[REQ][Powershell] Server Health script that rates 1-10

7 Upvotes

Hi Guys and Gals!

I'm looking for a script that rates a servers health on a scale, Ideally 1-100 or suchlike, I need it to rate the server based on a few factors.

  1. Free Disk Space

  2. Ram Usage

  3. CPU Usage

The idea of this is so I can have a dashboard so if a servers health rating drops I know it isn't ok

Thanks!

Ainsey11


r/usefulscripts • • Feb 08 '25

[TikTock: TikTok Video Downloader]

Thumbnail
reddit.com
2 Upvotes

r/usefulscripts • • Aug 06 '21

Automation Script. Willing to pay

15 Upvotes

Hey all.

Just wanting some help with a script if it's possible.

I'm wanting a script that can enable dhcp itself without any user input. It's going to be used to hopefully allow people to quickly fix an Internet connection problem.

So for the script. I'm needing a few criteria. Needs to be a batch file.

So this script will hopefully be able to detect all network adapters after running and store the names.

Then allow an option for the user to select the adapter. The script will then enable dhcp automatically.

I am willing to commission for this script.

Any help would be great

Thanks


r/usefulscripts • • Jan 18 '14

Problem solving

Post image
0 Upvotes

r/usefulscripts • • Jul 07 '25

Rename 1,000 files in seconds with this one-liner Python script]

0 Upvotes

I used to waste time manually renaming files β€” especially when batch downloading images or scans. I wrote this Python one-liner to rename every file in a folder with a consistent prefix + number.

Here’s the snippet:

```python

import os

for i, f in enumerate(os.listdir()):

os.rename(f, f"renamed_{i}.jpg")

If this saved you time, you can say thanks here: https://buy.stripe.com/7sYeVf2Rz1ZH2zhgOq

```


r/usefulscripts • • Mar 01 '16

[Help Request] Need to run logon script as administrator

4 Upvotes

Hey there, I really need your help. I wrote a script that install msi file and I used GPO to distribute it to all the computers in the domain but this script can't run without administrator permissions. maybe someone know how can I run it with my credentials?

Thanks!


r/usefulscripts • • Dec 01 '15

[BATCH] One-liner to find the IP of a machine via it's host name

Thumbnail
pastebin.com
9 Upvotes

r/usefulscripts • • May 24 '16

[REQUEST] Setting static IP address in windows 10

7 Upvotes

Looking for a script that I can hand out to a handful of our techs to setup static IPs. I would like to preset the DNS server, subnet mask, gateway.

I also need to append the DNS's in order.

Thanks everyone


r/usefulscripts • • Feb 14 '25

[JAVASCRIPT] JERKMATE RANKED HACKS BY ME!

0 Upvotes

r/usefulscripts • • Jan 29 '15

[REQUEST] Websit with windows IT scripts

8 Upvotes

Hi guys, Some time ago i saw a website with several IT scripts for windows to download, there was a short explanation of the script and usually both versions to turn configuration on and off. I've been trying to find it for a while now, maybe you guys can help. I vaguely remember the background being black. There was more than one script that i took from there to configure a machine about an year ago... Please help. Thanks in advance!


r/usefulscripts • • Jul 22 '13

[BASH] Poor man's git.

4 Upvotes

I have just finished this script to keep track of different versions of files.

To use it:

Edit values of 'ItemsToCheck' & 'ItemsToIgnore' in FileVersions_Example.
Copy 'FileVersions_Example' and 'FileVersions_Main' to a $PATH directory.
Use cron to run 'FileVersions_Example' every day (or every hour).
Check output in '$HOME/var'.

FileVersions_Example

FileVersions_Main

EDIT: Removed 'new Repository directory name' bug in 'FileVersions_Main'.